about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2018-08-29 15:23:06 +0200
committerTobias Bucher <tobiasbucher5991@gmail.com>2018-08-29 15:23:06 +0200
commit890d04d00f4a846dfcca0cf90595e8cfee13d42b (patch)
tree858e8dfada20c780ce98ef2f3a9467961d37430c
parentca0de63898b525656ad8447cd81ccb08a05e3d6c (diff)
downloadrust-890d04d00f4a846dfcca0cf90595e8cfee13d42b.tar.gz
rust-890d04d00f4a846dfcca0cf90595e8cfee13d42b.zip
Fix a comment in src/libcore/slice/mod.rs
-rw-r--r--src/libcore/slice/mod.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs
index 3366c4a3e66..f8c3feba74c 100644
--- a/src/libcore/slice/mod.rs
+++ b/src/libcore/slice/mod.rs
@@ -21,14 +21,9 @@
 // The library infrastructure for slices is fairly messy. There's
 // a lot of stuff defined here. Let's keep it clean.
 //
-// Since slices don't support inherent methods; all operations
-// on them are defined on traits, which are then re-exported from
-// the prelude for convenience. So there are a lot of traits here.
-//
 // The layout of this file is thus:
 //
-// * Slice-specific 'extension' traits and their implementations. This
-//   is where most of the slice API resides.
+// * Inherent methods. This is where most of the slice API resides.
 // * Implementations of a few common traits with important slice ops.
 // * Definitions of a bunch of iterators.
 // * Free functions.