about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2020-09-04 15:15:18 +0000
committerLzu Tao <taolzu@gmail.com>2020-09-14 09:35:54 +0000
commit6655ad7ed85d68e7475c576729cde91c3c921960 (patch)
tree1f0b87997ef31cfdb2b696105fc8cb6136f12262
parentf2976ab2d69c70b5aa09319a1a9241e3a4f121ab (diff)
downloadrust-6655ad7ed85d68e7475c576729cde91c3c921960.tar.gz
rust-6655ad7ed85d68e7475c576729cde91c3c921960.zip
Removed outdated comments
-rw-r--r--library/core/src/slice/mod.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs
index e01374a3f59..64a707c39f0 100644
--- a/library/core/src/slice/mod.rs
+++ b/library/core/src/slice/mod.rs
@@ -8,18 +8,6 @@
 
 #![stable(feature = "rust1", since = "1.0.0")]
 
-// How this module is organized.
-//
-// The library infrastructure for slices is fairly messy. There's
-// a lot of stuff defined here. Let's keep it clean.
-//
-// The layout of this file is thus:
-//
-// * Inherent methods. This is where most of the slice API resides.
-// * Implementations of a few common traits with important slice ops.
-// * The `raw` and `bytes` submodules.
-// * Boilerplate trait implementations.
-
 use crate::cmp::Ordering::{self, Equal, Greater, Less};
 use crate::intrinsics::assume;
 use crate::marker::{self, Copy};
@@ -87,10 +75,6 @@ pub use index::SliceIndex;
 use index::{slice_end_index_len_fail, slice_index_order_fail};
 use index::{slice_end_index_overflow_fail, slice_start_index_overflow_fail};
 
-//
-// Extension traits
-//
-
 #[lang = "slice"]
 #[cfg(not(test))]
 impl<T> [T] {