diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index 5a05c61e064df..b313b2997fd35 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -844,6 +844,8 @@ pub fn symlink_metadata>(path: P) -> io::Result { /// Rename a file or directory to a new name. /// +/// This will not work if the new name is on a different filesystem. +/// /// # Errors /// /// This function will return an error if the provided `from` doesn't exist, if