diff options
| -rw-r--r-- | src/libstd/fs.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index 5a05c61e064..0a19350851e 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -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 |
