mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
doc: add info about the u64 wrapped in Result
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user