We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd2bfa0 commit a1c277bCopy full SHA for a1c277b
tower/src/util/rng.rs
@@ -40,7 +40,7 @@ pub trait Rng {
40
///
41
/// # Panic
42
43
- /// - If start < end this will panic in debug mode.
+ /// - If `range.start >= range.end` this will panic in debug mode.
44
fn next_range(&mut self, range: Range<u64>) -> u64 {
45
debug_assert!(
46
range.start < range.end,
0 commit comments