Skip to content

Commit 4259ae6

Browse files
authored
Update fs.rs
1 parent 362dd8a commit 4259ae6

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/sys/redox

1 file changed

+1
-1
lines changed

src/libstd/sys/redox/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ pub fn unlink(p: &Path) -> io::Result<()> {
383383
Ok(())
384384
}
385385

386-
pub fn rename(_old: &Path, _new: &Path) -> io::Result<()> {
386+
pub fn rename(old: &Path, new: &Path) -> io::Result<()> {
387387
copy(old, new)?;
388388
unlink(old)?;
389389
Ok(())

0 commit comments

Comments
 (0)