summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-08-06 11:42:57 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-08-06 11:42:57 +0530
commit4e9300c02b62cc8cc5ca909e8b867b5202e1e167 (patch)
tree453b512bf13dae72e04e6b7d9eedafd7dbe72edf /src/libstd
parent1daad878933de52c6d33160b8e9f094a3318faf1 (diff)
parentfc3df01eee84f5684bca4403dd501e08a3025035 (diff)
downloadrust-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.rs2
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