Add note about filesystems to fs::rename

Fixes 
This commit is contained in:
Steve Klabnik 2015-05-05 16:30:13 -04:00
parent 6cd7486113
commit 577bbaceb9

@ -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