Skip to content

Commit 01d2280

Browse files
authored
Unrolled build for #155413
Rollup merge of #155413 - StepfenShawn:patch-2, r=ChrisDenton fix: typo in `std::fs::hard_link` documentation Change "corresponds the" to "corresponds to the" in the documentation for `std::fs::hard_link`.
2 parents 1b8f2e4 + b05e29b commit 01d2280

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)