Skip to content

Commit c5f8215

Browse files
sftsehkBst
andauthored
Update library/std/src/fs.rs
Co-authored-by: Marijn Schouten <hkBst@users.noreply.github.com>
1 parent 8689119 commit c5f8215

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/std/src/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2667,7 +2667,7 @@ pub fn symlink_metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
26672667
///
26682668
/// Because of this, the behavior when both `from` and `to` exist differs. On
26692669
/// Unix, if `from` is a directory, `to` must be an empty directory or non-existent. If
2670-
/// `from` is not a directory, `to` must also be not a directory. The behavior
2670+
/// `from` is not a directory, `to` must also not be a directory. The behavior
26712671
/// on Windows is the same on Windows 10 1607 and higher if `FileRenameInfoEx`
26722672
/// is supported by the filesystem; otherwise, `from` can be anything, but
26732673
/// `to` must *not* be a directory.

0 commit comments

Comments
 (0)