Skip to content

Commit 0cde1cb

Browse files
committed
Add stability attribute
1 parent ef519c1 commit 0cde1cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/option.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,7 @@ impl<T> From<T> for Option<T> {
10641064
}
10651065
}
10661066

1067+
#[stable(feature = "option_ref_from_ref_option", since = "1.30.0")]
10671068
impl<'a, T> From<&'a Option<T>> for Option<&'a T> {
10681069
fn from(o: &'a Option<T>) -> Option<&'a T> {
10691070
o.as_ref()

0 commit comments

Comments
 (0)