about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorTommaso Allevi <tomallevi@gmail.com>2025-02-19 09:17:18 +0100
committerGitHub <noreply@github.com>2025-02-19 09:17:18 +0100
commit3ad847779ec12875a96c563dadb63493b28856c0 (patch)
treef34479303e7bf2e7e12a2564079e58d778df01e7 /library/std
parentca58e23ede760152eaa6c6fb7b880a991ade0fd0 (diff)
Update library/std/src/fs.rs
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs
index 5631c3e0156..2aa00c0c294 100644
--- a/library/std/src/fs.rs
+++ b/library/std/src/fs.rs
@@ -2505,7 +2505,7 @@ pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()>
 /// * `from` does not exist.
 /// * The current process does not have the permission rights to read
 ///   `from` or write `to`.
-/// * The parent folder of `to` doesn't exists
+/// * The parent directory of `to` doesn't exist.
 ///
 /// # Examples
 ///