From ca58e23ede760152eaa6c6fb7b880a991ade0fd0 Mon Sep 17 00:00:00 2001 From: Tommaso Allevi Date: Fri, 31 Jan 2025 11:01:37 +0100 Subject: [PATCH] Update fs.rs --- library/std/src/fs.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index a5b0111adfb4..5631c3e0156c 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -2505,6 +2505,7 @@ pub fn rename, Q: AsRef>(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 ///