about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTommaso Allevi <tomallevi@gmail.com>2025-01-31 11:01:37 +0100
committerGitHub <noreply@github.com>2025-01-31 11:01:37 +0100
commitca58e23ede760152eaa6c6fb7b880a991ade0fd0 (patch)
treedba7e396a9956c6d9c1cf790ea1f5cb9c3b32882
parent25a16572a36321deae83546b63f5595d75361179 (diff)
downloadrust-ca58e23ede760152eaa6c6fb7b880a991ade0fd0.tar.gz
rust-ca58e23ede760152eaa6c6fb7b880a991ade0fd0.zip
Update fs.rs
-rw-r--r--library/std/src/fs.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs
index a5b0111adfb..5631c3e0156 100644
--- a/library/std/src/fs.rs
+++ b/library/std/src/fs.rs
@@ -2505,6 +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
 ///
 /// # Examples
 ///