Skip to content

Commit

Permalink
Update fs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Jul 13, 2017
1 parent 362dd8a commit 4259ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/redox/fs.rs
Expand Up @@ -383,7 +383,7 @@ pub fn unlink(p: &Path) -> io::Result<()> {
Ok(())
}

pub fn rename(_old: &Path, _new: &Path) -> io::Result<()> {
pub fn rename(old: &Path, new: &Path) -> io::Result<()> {
copy(old, new)?;
unlink(old)?;
Ok(())
Expand Down

0 comments on commit 4259ae6

Please sign in to comment.