mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Fix typo in documentation for CreateHardLink function
This commit is contained in:
@@ -2896,7 +2896,7 @@ pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> {
|
||||
///
|
||||
/// # Platform-specific behavior
|
||||
///
|
||||
/// This function currently corresponds the `CreateHardLink` function on Windows.
|
||||
/// This function currently corresponds to the `CreateHardLink` function on Windows.
|
||||
/// On most Unix systems, it corresponds to the `linkat` function with no flags.
|
||||
/// On Android, VxWorks, and Redox, it instead corresponds to the `link` function.
|
||||
/// On MacOS, it uses the `linkat` function if it is available, but on very old
|
||||
|
||||
Reference in New Issue
Block a user