Skip to content

Commit b05e29b

Browse files
authored
Fix typo in documentation for CreateHardLink function
1 parent 0204aca commit b05e29b

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
@@ -2896,7 +2896,7 @@ pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> {
28962896
///
28972897
/// # Platform-specific behavior
28982898
///
2899-
/// This function currently corresponds the `CreateHardLink` function on Windows.
2899+
/// This function currently corresponds to the `CreateHardLink` function on Windows.
29002900
/// On most Unix systems, it corresponds to the `linkat` function with no flags.
29012901
/// On Android, VxWorks, and Redox, it instead corresponds to the `link` function.
29022902
/// On MacOS, it uses the `linkat` function if it is available, but on very old

0 commit comments

Comments
 (0)