Skip to content

Commit 5fa8c4a

Browse files
wanting => want
1 parent 0bcfd2d commit 5fa8c4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/std/src/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1946,7 +1946,7 @@ pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()>
19461946
/// On success, the total number of bytes copied is returned and it is equal to
19471947
/// the length of the `to` file as reported by `metadata`.
19481948
///
1949-
/// If you’re wanting to copy the contents of one file to another and you’re
1949+
/// If you want to copy the contents of one file to another and you’re
19501950
/// working with [`File`]s, see the [`io::copy()`] function.
19511951
///
19521952
/// # Platform-specific behavior

library/std/src/io/copy.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::mem::MaybeUninit;
1010
/// On success, the total number of bytes that were copied from
1111
/// `reader` to `writer` is returned.
1212
///
13-
/// If you’re wanting to copy the contents of one file to another and you’re
13+
/// If you want to copy the contents of one file to another and you’re
1414
/// working with filesystem paths, see the [`fs::copy`] function.
1515
///
1616
/// [`fs::copy`]: crate::fs::copy

0 commit comments

Comments
 (0)