Skip to content

Commit

Permalink
Removed outdated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed Sep 14, 2020
1 parent f2976ab commit 6655ad7
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions library/core/src/slice/mod.rs
Expand Up @@ -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};
Expand Down Expand Up @@ -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] {
Expand Down

0 comments on commit 6655ad7

Please sign in to comment.