mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 17:03:35 +00:00
doc: add info about the u64 wrapped in Result
This commit is contained in:
parent
d019a49ac8
commit
fc3df01eee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user