wanting => want
This commit is contained in:
parent
0bcfd2d96e
commit
5fa8c4aced
@ -1946,7 +1946,7 @@ pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()>
|
|||||||
/// On success, the total number of bytes copied is returned and it is equal to
|
/// On success, the total number of bytes copied is returned and it is equal to
|
||||||
/// the length of the `to` file as reported by `metadata`.
|
/// the length of the `to` file as reported by `metadata`.
|
||||||
///
|
///
|
||||||
/// If you’re wanting to copy the contents of one file to another and you’re
|
/// If you want to copy the contents of one file to another and you’re
|
||||||
/// working with [`File`]s, see the [`io::copy()`] function.
|
/// working with [`File`]s, see the [`io::copy()`] function.
|
||||||
///
|
///
|
||||||
/// # Platform-specific behavior
|
/// # Platform-specific behavior
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
/// On success, the total number of bytes that were copied from
|
/// On success, the total number of bytes that were copied from
|
||||||
/// `reader` to `writer` is returned.
|
/// `reader` to `writer` is returned.
|
||||||
///
|
///
|
||||||
/// If you’re wanting to copy the contents of one file to another and you’re
|
/// If you want to copy the contents of one file to another and you’re
|
||||||
/// working with filesystem paths, see the [`fs::copy`] function.
|
/// working with filesystem paths, see the [`fs::copy`] function.
|
||||||
///
|
///
|
||||||
/// [`fs::copy`]: crate::fs::copy
|
/// [`fs::copy`]: crate::fs::copy
|
||||||
|
Loading…
Reference in New Issue
Block a user