diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-01 15:57:17 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-02 02:59:03 +1100 |
| commit | 2ed980fe253d0b7103ff0b16ce2aeecb03f09203 (patch) | |
| tree | 7c4892e371519a81effee35d982f4caaf0b23453 /src/libstd/to_bytes.rs | |
| parent | e0c1707560d02bb5805b33cb17e8abfc339eb16b (diff) | |
| download | rust-2ed980fe253d0b7103ff0b16ce2aeecb03f09203.tar.gz rust-2ed980fe253d0b7103ff0b16ce2aeecb03f09203.zip | |
std,extra: remove use of & support for @[].
Diffstat (limited to 'src/libstd/to_bytes.rs')
| -rw-r--r-- | src/libstd/to_bytes.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libstd/to_bytes.rs b/src/libstd/to_bytes.rs index 7ca1590dad0..4c545de73b4 100644 --- a/src/libstd/to_bytes.rs +++ b/src/libstd/to_bytes.rs @@ -266,13 +266,6 @@ impl<A:IterBytes> IterBytes for ~[A] { } } -impl<A:IterBytes> IterBytes for @[A] { - #[inline] - fn iter_bytes(&self, lsb0: bool, f: Cb) -> bool { - self.as_slice().iter_bytes(lsb0, f) - } -} - impl<'a> IterBytes for &'a str { #[inline] fn iter_bytes(&self, _lsb0: bool, f: Cb) -> bool { |
