File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -632,7 +632,7 @@ impl<T: ?Sized + fmt::Display> fmt::Display for RwLockWriteGuard<'_, T> {
632632}
633633
634634#[ unstable( feature = "mapped_lock_guards" , issue = "117108" ) ]
635- impl < T : fmt:: Debug > fmt:: Debug for MappedRwLockReadGuard < ' _ , T > {
635+ impl < T : fmt:: Debug + ? Sized > fmt:: Debug for MappedRwLockReadGuard < ' _ , T > {
636636 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
637637 ( * * self ) . fmt ( f)
638638 }
@@ -646,7 +646,7 @@ impl<T: ?Sized + fmt::Display> fmt::Display for MappedRwLockReadGuard<'_, T> {
646646}
647647
648648#[ unstable( feature = "mapped_lock_guards" , issue = "117108" ) ]
649- impl < T : fmt:: Debug > fmt:: Debug for MappedRwLockWriteGuard < ' _ , T > {
649+ impl < T : fmt:: Debug + ? Sized > fmt:: Debug for MappedRwLockWriteGuard < ' _ , T > {
650650 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
651651 ( * * self ) . fmt ( f)
652652 }
You can’t perform that action at this time.
0 commit comments