diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-10-13 21:55:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-13 21:55:14 +0900 |
| commit | 06e4aee220d75604948ac89a851ff824d69176e7 (patch) | |
| tree | 2c938e06ae0f193ca206cc404994b3e0363702f8 /library/alloc/src | |
| parent | c1bde6e4b693b09c3b36c0a2c9f9bab675148fa6 (diff) | |
| parent | 81eeb3e775128ffb70609b463faa0b554f672d2c (diff) | |
| download | rust-06e4aee220d75604948ac89a851ff824d69176e7.tar.gz rust-06e4aee220d75604948ac89a851ff824d69176e7.zip | |
Rollup merge of #89814 - jkugelman:must-use-string-transforms-typo, r=joshtriplett
Fix uppercase/lowercase error Fix https://github.com/rust-lang/rust/pull/89694#discussion_r726829890 r? ````@joshtriplett````
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/str.rs b/library/alloc/src/str.rs index ac7f2304456..e1d0ee42f4e 100644 --- a/library/alloc/src/str.rs +++ b/library/alloc/src/str.rs @@ -538,7 +538,7 @@ impl str { /// [`make_ascii_uppercase`]: str::make_ascii_uppercase /// [`to_uppercase`]: #method.to_uppercase #[cfg(not(no_global_oom_handling))] - #[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")] #[inline] pub fn to_ascii_uppercase(&self) -> String { |
