core: replace uses of old deriving attribute with new one
This commit is contained in:
parent
9584c60871
commit
98e8fe12d2
8 changed files with 19 additions and 19 deletions
|
@ -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],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue