diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2018-06-22 09:48:43 -0600 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-06-30 13:17:49 -0700 |
| commit | ad97f8b491422d947c1c97d8e9f1bfecdb7f47ba (patch) | |
| tree | 46206c7145336f073d6928bf97dde3941c0a3bbc /src/libcore/slice | |
| parent | 5d95db34a472dc09a90737c83ab533b840dcd224 (diff) | |
| download | rust-ad97f8b491422d947c1c97d8e9f1bfecdb7f47ba.tar.gz rust-ad97f8b491422d947c1c97d8e9f1bfecdb7f47ba.zip | |
Bootstrap from 1.28.0-beta.3
Diffstat (limited to 'src/libcore/slice')
| -rw-r--r-- | src/libcore/slice/mod.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs index e74e527927d..bcac9322ae8 100644 --- a/src/libcore/slice/mod.rs +++ b/src/libcore/slice/mod.rs @@ -1708,7 +1708,6 @@ impl<T> [T] { } /// Function to calculate lenghts of the middle and trailing slice for `align_to{,_mut}`. - #[cfg(not(stage0))] fn align_to_offsets<U>(&self) -> (usize, usize) { // What we gonna do about `rest` is figure out what multiple of `U`s we can put in a // lowest number of `T`s. And how many `T`s we need for each such "multiple". @@ -1798,7 +1797,6 @@ impl<T> [T] { /// } /// ``` #[unstable(feature = "slice_align_to", issue = "44488")] - #[cfg(not(stage0))] pub unsafe fn align_to<U>(&self) -> (&[T], &[U], &[T]) { // Note that most of this function will be constant-evaluated, if ::mem::size_of::<U>() == 0 || ::mem::size_of::<T>() == 0 { @@ -1851,7 +1849,6 @@ impl<T> [T] { /// } /// ``` #[unstable(feature = "slice_align_to", issue = "44488")] - #[cfg(not(stage0))] pub unsafe fn align_to_mut<U>(&mut self) -> (&mut [T], &mut [U], &mut [T]) { // Note that most of this function will be constant-evaluated, if ::mem::size_of::<U>() == 0 || ::mem::size_of::<T>() == 0 { |
