diff --git a/src/rng.rs b/src/rng.rs index a66b43e4c9..206275f8d7 100644 --- a/src/rng.rs +++ b/src/rng.rs @@ -103,7 +103,7 @@ pub trait Rng: RngCore { /// /// # Panics /// - /// Panics if the range is empty. + /// Panics if the range is empty, or if `high - low` overflows for floats. /// /// # Example ///