File tree Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,6 @@ impl<B: ?Sized + ToOwned> Cow<'_, B> {
225225 /// assert!(!bull.is_borrowed());
226226 /// ```
227227 #[ unstable( feature = "cow_is_borrowed" , issue = "65143" ) ]
228- #[ rustc_const_unstable( feature = "const_cow_is_borrowed" , issue = "65143" ) ]
229228 pub const fn is_borrowed ( & self ) -> bool {
230229 match * self {
231230 Borrowed ( _) => true ,
@@ -248,7 +247,6 @@ impl<B: ?Sized + ToOwned> Cow<'_, B> {
248247 /// assert!(!bull.is_owned());
249248 /// ```
250249 #[ unstable( feature = "cow_is_borrowed" , issue = "65143" ) ]
251- #[ rustc_const_unstable( feature = "const_cow_is_borrowed" , issue = "65143" ) ]
252250 pub const fn is_owned ( & self ) -> bool {
253251 !self . is_borrowed ( )
254252 }
Original file line number Diff line number Diff line change 108108#![ feature( coerce_unsized) ]
109109#![ feature( const_align_of_val) ]
110110#![ feature( const_box) ]
111- #![ feature( const_cow_is_borrowed) ]
112111#![ feature( const_eval_select) ]
113112#![ feature( const_heap) ]
114113#![ feature( const_maybe_uninit_write) ]
Original file line number Diff line number Diff line change 44#![ feature( assert_matches) ]
55#![ feature( btree_extract_if) ]
66#![ feature( cow_is_borrowed) ]
7- #![ feature( const_cow_is_borrowed) ]
87#![ feature( const_heap) ]
98#![ cfg_attr( bootstrap, feature( const_mut_refs) ) ]
109#![ feature( const_ptr_write) ]
You can’t perform that action at this time.
0 commit comments