diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-05-10 11:35:33 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-10 11:35:33 -0500 |
| commit | c798cbbb2cd5a0300954cdcb08f2daa0817898ff (patch) | |
| tree | 2ce8e42ecd8ae6be8522ae4eeed77a5578893645 /src/liballoc/str.rs | |
| parent | 44f8b4d5be3cebbfa82057e68309a673be46c968 (diff) | |
| parent | b8eb91a5ade04804118d39a0f74ae908f33b6268 (diff) | |
| download | rust-c798cbbb2cd5a0300954cdcb08f2daa0817898ff.tar.gz rust-c798cbbb2cd5a0300954cdcb08f2daa0817898ff.zip | |
Rollup merge of #50588 - ExpHP:i-can-see-my-house-from-here, r=frewsxcv
Move "See also" disambiguation links for primitive types to top Closes #50384. <details> <summary>Images</summary>   </details> r? @steveklabnik
Diffstat (limited to 'src/liballoc/str.rs')
| -rw-r--r-- | src/liballoc/str.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/str.rs b/src/liballoc/str.rs index 9e693c89be9..42efdea74b1 100644 --- a/src/liballoc/str.rs +++ b/src/liballoc/str.rs @@ -10,6 +10,8 @@ //! Unicode string slices. //! +//! *[See also the `str` primitive type](../../std/primitive.str.html).* +//! //! The `&str` type is one of the two main string types, the other being `String`. //! Unlike its `String` counterpart, its contents are borrowed. //! @@ -29,8 +31,6 @@ //! ``` //! let hello_world: &'static str = "Hello, world!"; //! ``` -//! -//! *[See also the `str` primitive type](../../std/primitive.str.html).* #![stable(feature = "rust1", since = "1.0.0")] |
