diff options
Diffstat (limited to 'src/libcore/path.rs')
| -rw-r--r-- | src/libcore/path.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/path.rs b/src/libcore/path.rs index bc6d6b507b2..df4a3fdfb9e 100644 --- a/src/libcore/path.rs +++ b/src/libcore/path.rs @@ -20,7 +20,7 @@ use option::{None, Option, Some}; use str; use to_str::ToStr; -#[deriving_eq] +#[deriving(Eq)] pub struct WindowsPath { host: Option<~str>, device: Option<~str>, @@ -32,7 +32,7 @@ pub pure fn WindowsPath(s: &str) -> WindowsPath { GenericPath::from_str(s) } -#[deriving_eq] +#[deriving(Eq)] pub struct PosixPath { is_absolute: bool, components: ~[~str], |
