Skip to content

Commit fc3df01

Browse files
committed
doc: add info about the u64 wrapped in Result
1 parent d019a49 commit fc3df01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libstd/fs.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,8 @@ pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()>
854854
/// Note that if `from` and `to` both point to the same file, then the file
855855
/// will likely get truncated by this operation.
856856
///
857+
/// On success, the total number of bytes copied is returned.
858+
///
857859
/// # Errors
858860
///
859861
/// This function will return an error in the following situations, but is not

0 commit comments

Comments
 (0)