From fc3df01eee84f5684bca4403dd501e08a3025035 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Thu, 6 Aug 2015 00:48:57 +0200 Subject: [PATCH] doc: add info about the u64 wrapped in Result --- src/libstd/fs.rs | 2 ++ 1 file changed, 2 insertions(+) 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, Q: AsRef>(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