diff options
| author | bors <bors@rust-lang.org> | 2013-07-22 12:01:41 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-22 12:01:41 -0700 |
| commit | 2f7d86f9a86f0da23579eef50ba1275d36e6c0bc (patch) | |
| tree | 346dcda1a00d26ce3677af4ef943b83a4dd152a6 /src/libstd | |
| parent | 48f115e1681cdd5fa0d76400a3d23f7513286491 (diff) | |
| parent | a6263694ffbe00b728080280c9ad00be6ee830cf (diff) | |
| download | rust-2f7d86f9a86f0da23579eef50ba1275d36e6c0bc.tar.gz rust-2f7d86f9a86f0da23579eef50ba1275d36e6c0bc.zip | |
auto merge of #7942 : Dretch/rust/os-listdir-path-no-squiggle, r=brson
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/os.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/os.rs b/src/libstd/os.rs index bbfa15d69bd..4bfd3bbcd3f 100644 --- a/src/libstd/os.rs +++ b/src/libstd/os.rs @@ -788,8 +788,8 @@ pub fn list_dir(p: &Path) -> ~[~str] { * * This version prepends each entry with the directory. */ -pub fn list_dir_path(p: &Path) -> ~[~Path] { - list_dir(p).map(|f| ~p.push(*f)) +pub fn list_dir_path(p: &Path) -> ~[Path] { + list_dir(p).map(|f| p.push(*f)) } /// Removes a directory at the specified path, after removing |
