diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-30 12:06:41 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-30 13:26:42 -0800 |
| commit | 83972176293632d4e5fed6aef4b344f7aea7db55 (patch) | |
| tree | 741e611afeffb8885367449fecd87acccf2d2ee0 /src/libcore/str | |
| parent | eb3a06093c2dac02cbc40994c8cd42fb5286f609 (diff) | |
| parent | 03b9995be916aef561c125ba117507306e6c8fac (diff) | |
| download | rust-83972176293632d4e5fed6aef4b344f7aea7db55.tar.gz rust-83972176293632d4e5fed6aef4b344f7aea7db55.zip | |
rollup merge of #21760: brson/snaps
Diffstat (limited to 'src/libcore/str')
| -rw-r--r-- | src/libcore/str/mod.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 93942d0b836..ee62cede191 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -486,15 +486,6 @@ delegate_iter!{exact u8 : Bytes<'a>} #[derive(Copy, Clone)] struct BytesDeref; -#[cfg(stage0)] -impl<'a> Fn(&'a u8) -> u8 for BytesDeref { - #[inline] - extern "rust-call" fn call(&self, (ptr,): (&'a u8,)) -> u8 { - *ptr - } -} - -#[cfg(not(stage0))] impl<'a> Fn<(&'a u8,)> for BytesDeref { type Output = u8; |
