wanting => want

This commit is contained in:
Vagelis Prokopiou 2023-05-15 10:13:08 +03:00
parent 0bcfd2d96e
commit 5fa8c4aced
2 changed files with 2 additions and 2 deletions

View File

@ -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
/// the length of the `to` file as reported by `metadata`.
///
/// If youre wanting to copy the contents of one file to another and youre
/// If you want to copy the contents of one file to another and youre
/// working with [`File`]s, see the [`io::copy()`] function.
///
/// # Platform-specific behavior

View File

@ -10,7 +10,7 @@
/// On success, the total number of bytes that were copied from
/// `reader` to `writer` is returned.
///
/// If youre wanting to copy the contents of one file to another and youre
/// If you want to copy the contents of one file to another and youre
/// working with filesystem paths, see the [`fs::copy`] function.
///
/// [`fs::copy`]: crate::fs::copy