Rollup merge of #111582 - Vagelis-Prokopiou:fix/wanting, r=workingjubilee
(docs) Change "wanting" to "want" Changing " If you’re wanting" to "If you want". Wanting is not wrong, of course, but I think that "If you want" feels more natural to most readers.
This commit is contained in:
commit
75186c0f7d
2 changed files with 2 additions and 2 deletions
|
@ -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 @@ use crate::mem::MaybeUninit;
|
||||||
/// 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…
Add table
Add a link
Reference in a new issue