Skip to content

Commit

Permalink
Add note about filesystems to fs::rename
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed May 26, 2015
1 parent 6cd7486 commit 577bbac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libstd/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,8 @@ pub fn symlink_metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {

/// Rename a file or directory to a new name.
///
/// This will not work if the new name is on a different mount point.
///
/// # Errors
///
/// This function will return an error if the provided `from` doesn't exist, if
Expand Down

0 comments on commit 577bbac

Please sign in to comment.