about summary refs log tree commit diff
path: root/src/liballoc/slice.rs
diff options
context:
space:
mode:
authorMichael Lamparski <diagonaldevice@gmail.com>2018-05-09 18:03:56 -0400
committerMichael Lamparski <diagonaldevice@gmail.com>2018-05-09 18:30:32 -0400
commit8010604b2d888ac839147fe27de76cdcc713aa1b (patch)
tree12951db654a303474a8d4b4088966b56f66d19ab /src/liballoc/slice.rs
parente5f80f2a4f016bf724a1cfb580619d71c8fd39ec (diff)
downloadrust-8010604b2d888ac839147fe27de76cdcc713aa1b.tar.gz
rust-8010604b2d888ac839147fe27de76cdcc713aa1b.zip
move See also links to top
Diffstat (limited to 'src/liballoc/slice.rs')
-rw-r--r--src/liballoc/slice.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs
index d50a3458f20..6caf12aa7eb 100644
--- a/src/liballoc/slice.rs
+++ b/src/liballoc/slice.rs
@@ -10,6 +10,8 @@
 
 //! A dynamically-sized view into a contiguous sequence, `[T]`.
 //!
+//! *[See also the slice primitive type](../../std/primitive.slice.html).*
+//!
 //! Slices are a view into a block of memory represented as a pointer and a
 //! length.
 //!
@@ -78,8 +80,6 @@
 //! * Further methods that return iterators are [`.split`], [`.splitn`],
 //!   [`.chunks`], [`.windows`] and more.
 //!
-//! *[See also the slice primitive type](../../std/primitive.slice.html).*
-//!
 //! [`Clone`]: ../../std/clone/trait.Clone.html
 //! [`Eq`]: ../../std/cmp/trait.Eq.html
 //! [`Ord`]: ../../std/cmp/trait.Ord.html