I'm mathematically challenged
This commit is contained in:
parent
bd6ccf31de
commit
9fce8abe0b
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ impl char {
|
|||
/// #![feature(char_min)]
|
||||
/// let dist = u32::from(char::MAX) - u32::from(char::MIN);
|
||||
/// let size = (char::MIN..=char::MAX).count() as u32;
|
||||
/// assert!(dist < size);
|
||||
/// assert!(size < dist);
|
||||
/// ```
|
||||
///
|
||||
/// Despite this gap, the `MIN` and [`MAX`] values can be used as bounds for
|
||||
|
|
@ -53,7 +53,7 @@ impl char {
|
|||
/// #![feature(char_min)]
|
||||
/// let dist = u32::from(char::MAX) - u32::from(char::MIN);
|
||||
/// let size = (char::MIN..=char::MAX).count() as u32;
|
||||
/// assert!(dist < size);
|
||||
/// assert!(size < dist);
|
||||
/// ```
|
||||
///
|
||||
/// Despite this gap, the [`MIN`] and `MAX` values can be used as bounds for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue