1
Fork 0

Update library/std/src/fs.rs

Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
This commit is contained in:
Tommaso Allevi 2025-02-19 09:17:18 +01:00 committed by GitHub
parent ca58e23ede
commit 3ad847779e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
///