diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index a5b0111adfb4a..2aa00c0c29483 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 directory of `to` doesn't exist. /// /// # Examples ///