about summary refs log tree commit diff
path: root/src/liballoc/str.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-05-10 11:35:33 -0500
committerGitHub <noreply@github.com>2018-05-10 11:35:33 -0500
commitc798cbbb2cd5a0300954cdcb08f2daa0817898ff (patch)
tree2ce8e42ecd8ae6be8522ae4eeed77a5578893645 /src/liballoc/str.rs
parent44f8b4d5be3cebbfa82057e68309a673be46c968 (diff)
parentb8eb91a5ade04804118d39a0f74ae908f33b6268 (diff)
downloadrust-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>

![rust-slice](https://user-images.githubusercontent.com/1411280/39843148-caa41c3e-53b7-11e8-8123-b57c25a4d9e0.png)

![rust-isize](https://user-images.githubusercontent.com/1411280/39843146-ca94b384-53b7-11e8-85f3-3f5e5d353a05.png)

</details>

r? @steveklabnik
Diffstat (limited to 'src/liballoc/str.rs')
-rw-r--r--src/liballoc/str.rs4
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")]