diff options
| author | Violet <violet@geeklint.com> | 2021-03-27 13:45:30 -0400 |
|---|---|---|
| committer | Violet <violet@geeklint.com> | 2021-03-27 13:45:30 -0400 |
| commit | d29d87f08bcb495f94b1ebb1b8d1ea197da86dbc (patch) | |
| tree | 5779065ec3bd3f2e45004e3808847ec64db65c20 | |
| parent | feaac19f1710ebcfecc783d51f52a9b0d8e998f5 (diff) | |
| download | rust-d29d87f08bcb495f94b1ebb1b8d1ea197da86dbc.tar.gz rust-d29d87f08bcb495f94b1ebb1b8d1ea197da86dbc.zip | |
update links to make_ascii_lowercase for slice to point to methods on the same type, rather than on u8
| -rw-r--r-- | library/alloc/src/slice.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/slice.rs b/library/alloc/src/slice.rs index 8cd4ef7a14e..7cbb88c820d 100644 --- a/library/alloc/src/slice.rs +++ b/library/alloc/src/slice.rs @@ -642,7 +642,7 @@ impl [u8] { /// /// To uppercase the value in-place, use [`make_ascii_uppercase`]. /// - /// [`make_ascii_uppercase`]: u8::make_ascii_uppercase + /// [`make_ascii_uppercase`]: #method.make_ascii_uppercase #[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")] #[inline] pub fn to_ascii_uppercase(&self) -> Vec<u8> { @@ -659,7 +659,7 @@ impl [u8] { /// /// To lowercase the value in-place, use [`make_ascii_lowercase`]. /// - /// [`make_ascii_lowercase`]: u8::make_ascii_lowercase + /// [`make_ascii_lowercase`]: #method.make_ascii_lowercase #[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")] #[inline] pub fn to_ascii_lowercase(&self) -> Vec<u8> { |
