mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
Removed outdated comments
This commit is contained in:
parent
f2976ab2d6
commit
6655ad7ed8
@ -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] {
|
||||
|
Loading…
Reference in New Issue
Block a user