File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 21
21
// The library infrastructure for slices is fairly messy. There's
22
22
// a lot of stuff defined here. Let's keep it clean.
23
23
//
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
- //
28
24
// The layout of this file is thus:
29
25
//
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.
32
27
// * Implementations of a few common traits with important slice ops.
33
28
// * Definitions of a bunch of iterators.
34
29
// * Free functions.
You can’t perform that action at this time.
0 commit comments