diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-11-12 12:17:55 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-11-12 12:17:55 -0800 |
| commit | 065e39bb2fd439d792d8a8f72a7182dfc8b7c5a3 (patch) | |
| tree | 7dc0761aee6f0eef769a3a4bbc475d3df7a789f4 /src/libcore/ops.rs | |
| parent | e4ead7b034c96b705ec34b8325f5f9f778f1cbb9 (diff) | |
| download | rust-065e39bb2fd439d792d8a8f72a7182dfc8b7c5a3.tar.gz rust-065e39bb2fd439d792d8a8f72a7182dfc8b7c5a3.zip | |
Register new snapshots
Diffstat (limited to 'src/libcore/ops.rs')
| -rw-r--r-- | src/libcore/ops.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index 52328a6929e..3a2e178d2ea 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -805,12 +805,10 @@ pub trait Deref<Sized? Result> { fn deref<'a>(&'a self) -> &'a Result; } -#[cfg(not(stage0))] impl<'a, Sized? T> Deref<T> for &'a T { fn deref(&self) -> &T { *self } } -#[cfg(not(stage0))] impl<'a, Sized? T> Deref<T> for &'a mut T { fn deref(&self) -> &T { *self } } @@ -855,7 +853,6 @@ pub trait DerefMut<Sized? Result>: Deref<Result> { fn deref_mut<'a>(&'a mut self) -> &'a mut Result; } -#[cfg(not(stage0))] impl<'a, Sized? T> DerefMut<T> for &'a mut T { fn deref_mut(&mut self) -> &mut T { *self } } |
