about summary refs log tree commit diff
path: root/absl/random/uniform_real_distribution.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/random/uniform_real_distribution.h')
-rw-r--r--absl/random/uniform_real_distribution.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/random/uniform_real_distribution.h b/absl/random/uniform_real_distribution.h
index 600f915b67af..336abb3907bf 100644
--- a/absl/random/uniform_real_distribution.h
+++ b/absl/random/uniform_real_distribution.h
@@ -56,7 +56,7 @@ namespace absl {
 //
 //   // Use the distribution to produce a value between 0.0 (inclusive)
 //   // and 1.0 (exclusive).
-//   int value = absl::uniform_real_distribution<double>(0, 1)(gen);
+//   double value = absl::uniform_real_distribution<double>(0, 1)(gen);
 //
 template <typename RealType = double>
 class uniform_real_distribution {