Add missed links in primitive_docs.rs
This commit is contained in:
parent
a712fbd50b
commit
b3437f36e0
1 changed files with 2 additions and 2 deletions
|
@ -642,8 +642,8 @@ mod prim_slice {}
|
||||||
/// assert_eq!(s, Ok(story));
|
/// assert_eq!(s, Ok(story));
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// [`as_ptr`]: #method.as_ptr
|
/// [`as_ptr`]: str::as_ptr
|
||||||
/// [`len`]: #method.len
|
/// [`len`]: str::len
|
||||||
///
|
///
|
||||||
/// Note: This example shows the internals of `&str`. `unsafe` should not be
|
/// Note: This example shows the internals of `&str`. `unsafe` should not be
|
||||||
/// used to get a string slice under normal circumstances. Use `as_str`
|
/// used to get a string slice under normal circumstances. Use `as_str`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue