We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd6ccf3 commit 9fce8abCopy full SHA for 9fce8ab
library/core/src/char/methods.rs
@@ -20,7 +20,7 @@ impl char {
20
/// #![feature(char_min)]
21
/// let dist = u32::from(char::MAX) - u32::from(char::MIN);
22
/// let size = (char::MIN..=char::MAX).count() as u32;
23
- /// assert!(dist < size);
+ /// assert!(size < dist);
24
/// ```
25
///
26
/// Despite this gap, the `MIN` and [`MAX`] values can be used as bounds for
@@ -53,7 +53,7 @@ impl char {
53
54
55
56
57
58
59
/// Despite this gap, the [`MIN`] and `MAX` values can be used as bounds for
0 commit comments