diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-08-06 11:42:57 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-08-06 11:42:57 +0530 |
| commit | 4e9300c02b62cc8cc5ca909e8b867b5202e1e167 (patch) | |
| tree | 453b512bf13dae72e04e6b7d9eedafd7dbe72edf /src/libstd | |
| parent | 1daad878933de52c6d33160b8e9f094a3318faf1 (diff) | |
| parent | fc3df01eee84f5684bca4403dd501e08a3025035 (diff) | |
| download | rust-4e9300c02b62cc8cc5ca909e8b867b5202e1e167.tar.gz rust-4e9300c02b62cc8cc5ca909e8b867b5202e1e167.zip | |
Rollup merge of #27550 - tshepang:missing-info, r=brson
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 62490bb9d08..a903452d540 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -855,6 +855,8 @@ pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()> /// Note that if `from` and `to` both point to the same file, then the file /// will likely get truncated by this operation. /// +/// On success, the total number of bytes copied is returned. +/// /// # Errors /// /// This function will return an error in the following situations, but is not |
