diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-08-06 00:48:57 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-08-06 00:48:57 +0200 |
| commit | fc3df01eee84f5684bca4403dd501e08a3025035 (patch) | |
| tree | 162983392df2b32a457cdf09b96f779256213760 | |
| parent | d019a49ac86322703e1daad0ebca393856185b32 (diff) | |
| download | rust-fc3df01eee84f5684bca4403dd501e08a3025035.tar.gz rust-fc3df01eee84f5684bca4403dd501e08a3025035.zip | |
doc: add info about the u64 wrapped in Result
| -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 e5f2fcbae83..a3f9f933bd9 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -854,6 +854,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 |
