diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-27 22:08:52 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-28 00:35:19 +0530 |
| commit | 689e94b422f7f033b0a5b8065a70f636d753b007 (patch) | |
| tree | e75de3973dbbe635b810eb02d172e8ff4b8245bc /src/libstd | |
| parent | efcc1d1bcb48122ae1c522b0f4a996188791f38a (diff) | |
| parent | 577bbaceb982623ecd2b220a31a162ccb3b1d378 (diff) | |
| download | rust-689e94b422f7f033b0a5b8065a70f636d753b007.tar.gz rust-689e94b422f7f033b0a5b8065a70f636d753b007.zip | |
Rollup merge of #25128 - steveklabnik:gh24816, r=alexcrichton
Fixes #24816 r? @alexcrichton
Diffstat (limited to 'src/libstd')
| -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 31b427d3fa7..b60a84da81d 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 |
