diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-19 18:35:52 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-20 22:17:17 -0800 |
| commit | 6686f7aa471f162697d08a78ad4d04d3c0e9612c (patch) | |
| tree | 038bc233524ca60ad55a6303c8601170a8a1039b /src/libstd/old_path/windows.rs | |
| parent | 522d09dfecbeca1595f25ac58c6d0178bbd21d7d (diff) | |
| download | rust-6686f7aa471f162697d08a78ad4d04d3c0e9612c.tar.gz rust-6686f7aa471f162697d08a78ad4d04d3c0e9612c.zip | |
Register new snapshots
Diffstat (limited to 'src/libstd/old_path/windows.rs')
| -rw-r--r-- | src/libstd/old_path/windows.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libstd/old_path/windows.rs b/src/libstd/old_path/windows.rs index 887dc804c7a..31a2be1daf3 100644 --- a/src/libstd/old_path/windows.rs +++ b/src/libstd/old_path/windows.rs @@ -127,21 +127,6 @@ impl FromStr for Path { #[derive(Debug, Clone, PartialEq, Copy)] pub struct ParsePathError; -#[cfg(stage0)] -impl<S: hash::Writer + hash::Hasher> hash::Hash<S> for Path { - #[cfg(not(test))] - #[inline] - fn hash(&self, state: &mut S) { - self.repr.hash(state) - } - - #[cfg(test)] - #[inline] - fn hash(&self, _: &mut S) { - // No-op because the `hash` implementation will be wrong. - } -} -#[cfg(not(stage0))] #[stable(feature = "rust1", since = "1.0.0")] impl hash::Hash for Path { #[cfg(not(test))] |
