1
Fork 0

core: replace uses of old deriving attribute with new one

This commit is contained in:
Andrew Paseltiner 2013-03-20 11:35:02 -04:00
parent 9584c60871
commit 98e8fe12d2
8 changed files with 19 additions and 19 deletions

View file

@ -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],