1
Fork 0

Change some uses of static methods to use the trait path

This commit is contained in:
Brian Anderson 2012-12-13 15:55:05 -08:00
parent 732c39c183
commit e7ef82dd70
5 changed files with 10 additions and 11 deletions

View file

@ -29,7 +29,7 @@ pub struct WindowsPath {
}
pub pure fn WindowsPath(s: &str) -> WindowsPath {
from_str(s)
GenericPath::from_str(s)
}
#[deriving_eq]
@ -39,7 +39,7 @@ pub struct PosixPath {
}
pub pure fn PosixPath(s: &str) -> PosixPath {
from_str(s)
GenericPath::from_str(s)
}
pub trait GenericPath {