diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-12-19 08:23:59 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-02-25 20:31:53 -0500 |
| commit | 9a75f4fed10a65e6cb779fc059f272deadd7ecc1 (patch) | |
| tree | 39313a495c8f8513f87f7891b1d9bbceb723cc53 /library/alloc/src/string.rs | |
| parent | c0a54cc4eb6111cac9ad75cc439f75b79698b4a7 (diff) | |
| download | rust-9a75f4fed10a65e6cb779fc059f272deadd7ecc1.tar.gz rust-9a75f4fed10a65e6cb779fc059f272deadd7ecc1.zip | |
Convert primitives to use intra-doc links
Diffstat (limited to 'library/alloc/src/string.rs')
| -rw-r--r-- | library/alloc/src/string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs index 6fb3fcbb63b..b567d0a2fe2 100644 --- a/library/alloc/src/string.rs +++ b/library/alloc/src/string.rs @@ -495,7 +495,7 @@ impl String { /// `from_utf8_lossy()` will replace any invalid UTF-8 sequences with /// [`U+FFFD REPLACEMENT CHARACTER`][U+FFFD], which looks like this: � /// - /// [byteslice]: ../../std/primitive.slice.html + /// [byteslice]: prim@slice /// [U+FFFD]: core::char::REPLACEMENT_CHARACTER /// /// If you are sure that the byte slice is valid UTF-8, and you don't want |
