diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-23 22:25:43 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-23 23:01:49 -0700 |
| commit | afd91f8a5698e7767ddfbf90c665c08dcd4f0de0 (patch) | |
| tree | 3bc5d52fd888c010ea797f6570c92abe861c183a /src/libcore/path.rs | |
| parent | 2dae768624de87bcec1160bd29c27af1affe7f5f (diff) | |
| download | rust-afd91f8a5698e7767ddfbf90c665c08dcd4f0de0.tar.gz rust-afd91f8a5698e7767ddfbf90c665c08dcd4f0de0.zip | |
Register snapshots. Remove redundant Eq impls, Makefile hacks
Diffstat (limited to 'src/libcore/path.rs')
| -rw-r--r-- | src/libcore/path.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/libcore/path.rs b/src/libcore/path.rs index 49909208d75..ab847702d68 100644 --- a/src/libcore/path.rs +++ b/src/libcore/path.rs @@ -70,16 +70,6 @@ impl PosixPath : ToStr { } } -#[cfg(stage0)] -impl PosixPath : Eq { - pure fn eq(&&other: PosixPath) -> bool { - return self.is_absolute == other.is_absolute && - self.components == other.components; - } - pure fn ne(&&other: PosixPath) -> bool { !self.eq(other) } -} -#[cfg(stage1)] -#[cfg(stage2)] impl PosixPath : Eq { pure fn eq(other: &PosixPath) -> bool { return self.is_absolute == (*other).is_absolute && @@ -88,18 +78,6 @@ impl PosixPath : Eq { pure fn ne(other: &PosixPath) -> bool { !self.eq(other) } } -#[cfg(stage0)] -impl WindowsPath : Eq { - pure fn eq(&&other: WindowsPath) -> bool { - return self.host == other.host && - self.device == other.device && - self.is_absolute == other.is_absolute && - self.components == other.components; - } - pure fn ne(&&other: WindowsPath) -> bool { !self.eq(other) } -} -#[cfg(stage1)] -#[cfg(stage2)] impl WindowsPath : Eq { pure fn eq(other: &WindowsPath) -> bool { return self.host == (*other).host && |
