diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-05-15 10:58:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-15 10:58:42 +0200 |
| commit | 75186c0f7d3df657eff76c623dbec82d23e60f47 (patch) | |
| tree | fb98b13ee99b28b61fc8606216a709f5997d2a61 | |
| parent | 9d8c11ba75694356771fd59ea015ec6d20c108d7 (diff) | |
| parent | 5fa8c4aced01e9bcbeaba418c5397883c94484da (diff) | |
| download | rust-75186c0f7d3df657eff76c623dbec82d23e60f47.tar.gz rust-75186c0f7d3df657eff76c623dbec82d23e60f47.zip | |
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.
| -rw-r--r-- | library/std/src/fs.rs | 2 | ||||
| -rw-r--r-- | library/std/src/io/copy.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 6640c7fb162..2a6b1a5ec73 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -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 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. /// /// # Platform-specific behavior diff --git a/library/std/src/io/copy.rs b/library/std/src/io/copy.rs index 38b98afffa1..1d9d93f5b64 100644 --- a/library/std/src/io/copy.rs +++ b/library/std/src/io/copy.rs @@ -10,7 +10,7 @@ use crate::mem::MaybeUninit; /// On success, the total number of bytes that were copied from /// `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. /// /// [`fs::copy`]: crate::fs::copy |
