File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1050,7 +1050,7 @@ impl Metadata {
1050
1050
///
1051
1051
/// fn main() -> std::io::Result<()> {
1052
1052
/// let link_path = Path::new("link");
1053
- /// symlink("/origin_does_not_exists /", link_path)?;
1053
+ /// symlink("/origin_does_not_exist /", link_path)?;
1054
1054
///
1055
1055
/// let metadata = fs::symlink_metadata(link_path)?;
1056
1056
///
Original file line number Diff line number Diff line change @@ -2806,7 +2806,7 @@ impl Path {
2806
2806
/// use std::os::unix::fs::symlink;
2807
2807
///
2808
2808
/// let link_path = Path::new("link");
2809
- /// symlink("/origin_does_not_exists /", link_path).unwrap();
2809
+ /// symlink("/origin_does_not_exist /", link_path).unwrap();
2810
2810
/// assert_eq!(link_path.is_symlink(), true);
2811
2811
/// assert_eq!(link_path.exists(), false);
2812
2812
/// ```
You can’t perform that action at this time.
0 commit comments