Update library/core/src/num/mod.rs

Co-authored-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
John Kugelman 2021-10-09 02:05:03 -04:00 committed by GitHub
parent 54d807cfc7
commit 2ec7588aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -282,7 +282,7 @@ pub const fn is_ascii(&self) -> bool {
/// ```
///
/// [`make_ascii_uppercase`]: Self::make_ascii_uppercase
#[must_use = "to uppercase the value in-place, use `make_ascii_lowercase()`"]
#[must_use = "to uppercase the value in-place, use `make_ascii_uppercase()`"]
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
#[rustc_const_stable(feature = "const_ascii_methods_on_intrinsics", since = "1.52.0")]
#[inline]