summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorVagelis Prokopiou <vagelis.prokopiou@gmail.com>2023-05-15 10:13:08 +0300
committerVagelis Prokopiou <vagelis.prokopiou@gmail.com>2023-05-15 10:13:08 +0300
commit5fa8c4aced01e9bcbeaba418c5397883c94484da (patch)
tree8e7f3bb630bc504a0b512aca6427d858a05eb111 /library
parent0bcfd2d96efe7a2cb5205c3af1b9eea17423fe65 (diff)
downloadrust-5fa8c4aced01e9bcbeaba418c5397883c94484da.tar.gz
wanting => want
Diffstat (limited to 'library')
-rw-r--r--library/std/src/fs.rs2
-rw-r--r--library/std/src/io/copy.rs2
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