Rollup merge of #27550 - tshepang:missing-info, r=brson
This commit is contained in:
commit
4e9300c02b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue