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 @@ -1058,7 +1058,7 @@ impl Metadata {
10581058 /// }
10591059 /// ```
10601060 #[ must_use]
1061- #[ stable( feature = "is_symlink" , since = "1.57 .0" ) ]
1061+ #[ stable( feature = "is_symlink" , since = "1.58 .0" ) ]
10621062 pub fn is_symlink ( & self ) -> bool {
10631063 self . file_type ( ) . is_symlink ( )
10641064 }
Original file line number Diff line number Diff line change @@ -2817,7 +2817,7 @@ impl Path {
28172817 /// check errors, call [`fs::symlink_metadata`] and handle its [`Result`]. Then call
28182818 /// [`fs::Metadata::is_symlink`] if it was [`Ok`].
28192819 #[ must_use]
2820- #[ stable( feature = "is_symlink" , since = "1.57 .0" ) ]
2820+ #[ stable( feature = "is_symlink" , since = "1.58 .0" ) ]
28212821 pub fn is_symlink ( & self ) -> bool {
28222822 fs:: symlink_metadata ( self ) . map ( |m| m. is_symlink ( ) ) . unwrap_or ( false )
28232823 }
You can’t perform that action at this time.
0 commit comments