libcore: minor os.rs cleanup

This commit is contained in:
Erick Tryzelaar 2012-11-17 15:57:14 -08:00 committed by Graydon Hoare
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