File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1058,7 +1058,7 @@ impl Metadata {
1058
1058
/// }
1059
1059
/// ```
1060
1060
#[ must_use]
1061
- #[ stable( feature = "is_symlink" , since = "1.57 .0" ) ]
1061
+ #[ stable( feature = "is_symlink" , since = "1.58 .0" ) ]
1062
1062
pub fn is_symlink ( & self ) -> bool {
1063
1063
self . file_type ( ) . is_symlink ( )
1064
1064
}
Original file line number Diff line number Diff line change @@ -2817,7 +2817,7 @@ impl Path {
2817
2817
/// check errors, call [`fs::symlink_metadata`] and handle its [`Result`]. Then call
2818
2818
/// [`fs::Metadata::is_symlink`] if it was [`Ok`].
2819
2819
#[ must_use]
2820
- #[ stable( feature = "is_symlink" , since = "1.57 .0" ) ]
2820
+ #[ stable( feature = "is_symlink" , since = "1.58 .0" ) ]
2821
2821
pub fn is_symlink ( & self ) -> bool {
2822
2822
fs:: symlink_metadata ( self ) . map ( |m| m. is_symlink ( ) ) . unwrap_or ( false )
2823
2823
}
You can’t perform that action at this time.
0 commit comments