@@ -162,7 +162,7 @@ unsafe impl<T: ?Sized + Sync> Sync for RwLockWriteGuard<'_, T> {}
162
162
#[ must_not_suspend = "holding a MappedRwLockReadGuard across suspend \
163
163
points can cause deadlocks, delays, \
164
164
and cause Futures to not implement `Send`"]
165
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
165
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
166
166
#[ clippy:: has_significant_drop]
167
167
pub struct MappedRwLockReadGuard < ' a , T : ?Sized + ' a > {
168
168
// NB: we use a pointer instead of `&'a T` to avoid `noalias` violations, because a
@@ -173,10 +173,10 @@ pub struct MappedRwLockReadGuard<'a, T: ?Sized + 'a> {
173
173
inner_lock : & ' a sys:: RwLock ,
174
174
}
175
175
176
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
176
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
177
177
impl < T : ?Sized > !Send for MappedRwLockReadGuard < ' _ , T > { }
178
178
179
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
179
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
180
180
unsafe impl < T : ?Sized + Sync > Sync for MappedRwLockReadGuard < ' _ , T > { }
181
181
182
182
/// RAII structure used to release the exclusive write access of a lock when
@@ -191,7 +191,7 @@ unsafe impl<T: ?Sized + Sync> Sync for MappedRwLockReadGuard<'_, T> {}
191
191
#[ must_not_suspend = "holding a MappedRwLockWriteGuard across suspend \
192
192
points can cause deadlocks, delays, \
193
193
and cause Future's to not implement `Send`"]
194
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
194
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
195
195
#[ clippy:: has_significant_drop]
196
196
pub struct MappedRwLockWriteGuard < ' a , T : ?Sized + ' a > {
197
197
// NB: we use a pointer instead of `&'a mut T` to avoid `noalias` violations, because a
@@ -204,10 +204,10 @@ pub struct MappedRwLockWriteGuard<'a, T: ?Sized + 'a> {
204
204
_variance : PhantomData < & ' a mut T > ,
205
205
}
206
206
207
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
207
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
208
208
impl < T : ?Sized > !Send for MappedRwLockWriteGuard < ' _ , T > { }
209
209
210
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
210
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
211
211
unsafe impl < T : ?Sized + Sync > Sync for MappedRwLockWriteGuard < ' _ , T > { }
212
212
213
213
impl < T > RwLock < T > {
@@ -631,28 +631,28 @@ impl<T: ?Sized + fmt::Display> fmt::Display for RwLockWriteGuard<'_, T> {
631
631
}
632
632
}
633
633
634
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
634
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
635
635
impl < T : fmt:: Debug > fmt:: Debug for MappedRwLockReadGuard < ' _ , T > {
636
636
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
637
637
( * * self ) . fmt ( f)
638
638
}
639
639
}
640
640
641
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
641
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
642
642
impl < T : ?Sized + fmt:: Display > fmt:: Display for MappedRwLockReadGuard < ' _ , T > {
643
643
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
644
644
( * * self ) . fmt ( f)
645
645
}
646
646
}
647
647
648
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
648
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
649
649
impl < T : fmt:: Debug > fmt:: Debug for MappedRwLockWriteGuard < ' _ , T > {
650
650
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
651
651
( * * self ) . fmt ( f)
652
652
}
653
653
}
654
654
655
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
655
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
656
656
impl < T : ?Sized + fmt:: Display > fmt:: Display for MappedRwLockWriteGuard < ' _ , T > {
657
657
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
658
658
( * * self ) . fmt ( f)
@@ -687,7 +687,7 @@ impl<T: ?Sized> DerefMut for RwLockWriteGuard<'_, T> {
687
687
}
688
688
}
689
689
690
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
690
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
691
691
impl < T : ?Sized > Deref for MappedRwLockReadGuard < ' _ , T > {
692
692
type Target = T ;
693
693
@@ -698,7 +698,7 @@ impl<T: ?Sized> Deref for MappedRwLockReadGuard<'_, T> {
698
698
}
699
699
}
700
700
701
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
701
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
702
702
impl < T : ?Sized > Deref for MappedRwLockWriteGuard < ' _ , T > {
703
703
type Target = T ;
704
704
@@ -709,7 +709,7 @@ impl<T: ?Sized> Deref for MappedRwLockWriteGuard<'_, T> {
709
709
}
710
710
}
711
711
712
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
712
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
713
713
impl < T : ?Sized > DerefMut for MappedRwLockWriteGuard < ' _ , T > {
714
714
fn deref_mut ( & mut self ) -> & mut T {
715
715
// SAFETY: the conditions of `RwLockWriteGuard::new` were satisfied when the original guard
@@ -739,7 +739,7 @@ impl<T: ?Sized> Drop for RwLockWriteGuard<'_, T> {
739
739
}
740
740
}
741
741
742
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
742
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
743
743
impl < T : ?Sized > Drop for MappedRwLockReadGuard < ' _ , T > {
744
744
fn drop ( & mut self ) {
745
745
// SAFETY: the conditions of `RwLockReadGuard::new` were satisfied when the original guard
@@ -750,7 +750,7 @@ impl<T: ?Sized> Drop for MappedRwLockReadGuard<'_, T> {
750
750
}
751
751
}
752
752
753
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
753
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
754
754
impl < T : ?Sized > Drop for MappedRwLockWriteGuard < ' _ , T > {
755
755
fn drop ( & mut self ) {
756
756
self . inner_state . poison . done ( & self . poison ) ;
@@ -772,7 +772,7 @@ impl<'a, T: ?Sized> RwLockReadGuard<'a, T> {
772
772
/// `RwLockReadGuard::map(...)`. A method would interfere with methods of
773
773
/// the same name on the contents of the `RwLockReadGuard` used through
774
774
/// `Deref`.
775
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
775
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
776
776
pub fn map < U , F > ( orig : Self , f : F ) -> MappedRwLockReadGuard < ' a , U >
777
777
where
778
778
F : FnOnce ( & T ) -> & U ,
@@ -794,7 +794,7 @@ impl<'a, T: ?Sized> RwLockReadGuard<'a, T> {
794
794
/// of the same name on the contents of the `RwLockReadGuard` used through
795
795
/// `Deref`.
796
796
#[ doc( alias = "filter_map" ) ]
797
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
797
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
798
798
pub fn try_map < U , F > ( orig : Self , f : F ) -> Result < MappedRwLockReadGuard < ' a , U > , Self >
799
799
where
800
800
F : FnOnce ( & T ) -> Option < & U > ,
@@ -818,7 +818,7 @@ impl<'a, T: ?Sized> MappedRwLockReadGuard<'a, T> {
818
818
/// `MappedRwLockReadGuard::map(...)`. A method would interfere with
819
819
/// methods of the same name on the contents of the `MappedRwLockReadGuard`
820
820
/// used through `Deref`.
821
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
821
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
822
822
pub fn map < U , F > ( orig : Self , f : F ) -> MappedRwLockReadGuard < ' a , U >
823
823
where
824
824
F : FnOnce ( & T ) -> & U ,
@@ -840,7 +840,7 @@ impl<'a, T: ?Sized> MappedRwLockReadGuard<'a, T> {
840
840
/// methods of the same name on the contents of the `MappedRwLockReadGuard`
841
841
/// used through `Deref`.
842
842
#[ doc( alias = "filter_map" ) ]
843
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
843
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
844
844
pub fn try_map < U , F > ( orig : Self , f : F ) -> Result < MappedRwLockReadGuard < ' a , U > , Self >
845
845
where
846
846
F : FnOnce ( & T ) -> Option < & U > ,
@@ -864,7 +864,7 @@ impl<'a, T: ?Sized> RwLockWriteGuard<'a, T> {
864
864
/// `RwLockWriteGuard::map(...)`. A method would interfere with methods of
865
865
/// the same name on the contents of the `RwLockWriteGuard` used through
866
866
/// `Deref`.
867
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
867
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
868
868
pub fn map < U , F > ( orig : Self , f : F ) -> MappedRwLockWriteGuard < ' a , U >
869
869
where
870
870
F : FnOnce ( & mut T ) -> & mut U ,
@@ -891,7 +891,7 @@ impl<'a, T: ?Sized> RwLockWriteGuard<'a, T> {
891
891
/// of the same name on the contents of the `RwLockWriteGuard` used through
892
892
/// `Deref`.
893
893
#[ doc( alias = "filter_map" ) ]
894
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
894
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
895
895
pub fn try_map < U , F > ( orig : Self , f : F ) -> Result < MappedRwLockWriteGuard < ' a , U > , Self >
896
896
where
897
897
F : FnOnce ( & mut T ) -> Option < & mut U > ,
@@ -920,7 +920,7 @@ impl<'a, T: ?Sized> MappedRwLockWriteGuard<'a, T> {
920
920
/// `MappedRwLockWriteGuard::map(...)`. A method would interfere with
921
921
/// methods of the same name on the contents of the `MappedRwLockWriteGuard`
922
922
/// used through `Deref`.
923
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
923
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
924
924
pub fn map < U , F > ( orig : Self , f : F ) -> MappedRwLockWriteGuard < ' a , U >
925
925
where
926
926
F : FnOnce ( & mut T ) -> & mut U ,
@@ -947,7 +947,7 @@ impl<'a, T: ?Sized> MappedRwLockWriteGuard<'a, T> {
947
947
/// methods of the same name on the contents of the `MappedRwLockWriteGuard`
948
948
/// used through `Deref`.
949
949
#[ doc( alias = "filter_map" ) ]
950
- #[ unstable( feature = "mapped_lock_guards" , issue = "none " ) ]
950
+ #[ unstable( feature = "mapped_lock_guards" , issue = "117108 " ) ]
951
951
pub fn try_map < U , F > ( orig : Self , f : F ) -> Result < MappedRwLockWriteGuard < ' a , U > , Self >
952
952
where
953
953
F : FnOnce ( & mut T ) -> Option < & mut U > ,
0 commit comments