diff options
| author | Surya Midatala <surya.midatala@protonmail.com> | 2020-08-23 16:27:24 +0530 |
|---|---|---|
| committer | Surya Midatala <surya.midatala@protonmail.com> | 2020-08-26 21:43:46 +0530 |
| commit | b3437f36e0d2c8c172344e35fbe2a01ca10de4e2 (patch) | |
| tree | 9f661761fcaff4c4a2a9dceb4f0ed0b4af04f681 | |
| parent | a712fbd50bd7a579d4a46d426e9f8b1c627d4bc4 (diff) | |
| download | rust-b3437f36e0d2c8c172344e35fbe2a01ca10de4e2.tar.gz rust-b3437f36e0d2c8c172344e35fbe2a01ca10de4e2.zip | |
Add missed links in primitive_docs.rs
| -rw-r--r-- | library/std/src/primitive_docs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/primitive_docs.rs b/library/std/src/primitive_docs.rs index 392c89a6ecf..297c8318474 100644 --- a/library/std/src/primitive_docs.rs +++ b/library/std/src/primitive_docs.rs @@ -642,8 +642,8 @@ mod prim_slice {} /// assert_eq!(s, Ok(story)); /// ``` /// -/// [`as_ptr`]: #method.as_ptr -/// [`len`]: #method.len +/// [`as_ptr`]: str::as_ptr +/// [`len`]: str::len /// /// Note: This example shows the internals of `&str`. `unsafe` should not be /// used to get a string slice under normal circumstances. Use `as_str` |
