libcore: minor os.rs cleanup
This commit is contained in:
parent
079c768df5
commit
e70b481803
@ -595,7 +595,7 @@ pub fn list_dir(p: &Path) -> ~[~str] {
|
||||
* This version prepends each entry with the directory.
|
||||
*/
|
||||
pub fn list_dir_path(p: &Path) -> ~[~Path] {
|
||||
os::list_dir(p).map(|f| ~p.push(*f))
|
||||
list_dir(p).map(|f| ~p.push(*f))
|
||||
}
|
||||
|
||||
/// Removes a directory at the specified path
|
||||
|
Loading…
x
Reference in New Issue
Block a user