Skip to content

Commit 475b0f1

Browse files
authored
Rollup merge of #53785 - tbu-:pr_comment, r=Mark-Simulacrum
Fix a comment in src/libcore/slice/mod.rs
2 parents da82512 + 890d04d commit 475b0f1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/libcore/slice/mod.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,9 @@
2121
// The library infrastructure for slices is fairly messy. There's
2222
// a lot of stuff defined here. Let's keep it clean.
2323
//
24-
// Since slices don't support inherent methods; all operations
25-
// on them are defined on traits, which are then re-exported from
26-
// the prelude for convenience. So there are a lot of traits here.
27-
//
2824
// The layout of this file is thus:
2925
//
30-
// * Slice-specific 'extension' traits and their implementations. This
31-
// is where most of the slice API resides.
26+
// * Inherent methods. This is where most of the slice API resides.
3227
// * Implementations of a few common traits with important slice ops.
3328
// * Definitions of a bunch of iterators.
3429
// * Free functions.

0 commit comments

Comments
 (0)