Removed outdated comments

This commit is contained in:
Lzu Tao 2020-09-04 15:15:18 +00:00
parent f2976ab2d6
commit 6655ad7ed8

View File

@ -8,18 +8,6 @@
#![stable(feature = "rust1", since = "1.0.0")] #![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::cmp::Ordering::{self, Equal, Greater, Less};
use crate::intrinsics::assume; use crate::intrinsics::assume;
use crate::marker::{self, Copy}; 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_len_fail, slice_index_order_fail};
use index::{slice_end_index_overflow_fail, slice_start_index_overflow_fail}; use index::{slice_end_index_overflow_fail, slice_start_index_overflow_fail};
//
// Extension traits
//
#[lang = "slice"] #[lang = "slice"]
#[cfg(not(test))] #[cfg(not(test))]
impl<T> [T] { impl<T> [T] {