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 {
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 ///
Original file line number Diff line number Diff 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 /// ```
You can’t perform that action at this time.
0 commit comments