Skip to content

Commit 689e94b

Browse files
committed
Rollup merge of #25128 - steveklabnik:gh24816, r=alexcrichton
Fixes #24816 r? @alexcrichton
2 parents efcc1d1 + 577bbac commit 689e94b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libstd/fs.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,8 @@ pub fn symlink_metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
844844

845845
/// Rename a file or directory to a new name.
846846
///
847+
/// This will not work if the new name is on a different mount point.
848+
///
847849
/// # Errors
848850
///
849851
/// This function will return an error if the provided `from` doesn't exist, if

0 commit comments

Comments
 (0)