Skip to content

Commit 1647edc

Browse files
committed
Typos fix
1 parent bfdbafc commit 1647edc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

std/src/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ impl Metadata {
10501050
///
10511051
/// fn main() -> std::io::Result<()> {
10521052
/// let link_path = Path::new("link");
1053-
/// symlink("/origin_does_not_exists/", link_path)?;
1053+
/// symlink("/origin_does_not_exist/", link_path)?;
10541054
///
10551055
/// let metadata = fs::symlink_metadata(link_path)?;
10561056
///

std/src/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2806,7 +2806,7 @@ impl Path {
28062806
/// use std::os::unix::fs::symlink;
28072807
///
28082808
/// let link_path = Path::new("link");
2809-
/// symlink("/origin_does_not_exists/", link_path).unwrap();
2809+
/// symlink("/origin_does_not_exist/", link_path).unwrap();
28102810
/// assert_eq!(link_path.is_symlink(), true);
28112811
/// assert_eq!(link_path.exists(), false);
28122812
/// ```

0 commit comments

Comments
 (0)