File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ impl<T: 'static + ?Sized> Any for T {
141
141
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
142
142
impl fmt:: Debug for dyn Any {
143
143
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
144
- f. debug_struct ( "Any" ) . finish ( )
144
+ f. debug_struct ( "Any" ) . finish_non_exhaustive ( )
145
145
}
146
146
}
147
147
@@ -151,14 +151,14 @@ impl fmt::Debug for dyn Any {
151
151
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
152
152
impl fmt:: Debug for dyn Any + Send {
153
153
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
154
- f. debug_struct ( "Any" ) . finish ( )
154
+ f. debug_struct ( "Any" ) . finish_non_exhaustive ( )
155
155
}
156
156
}
157
157
158
158
#[ stable( feature = "any_send_sync_methods" , since = "1.28.0" ) ]
159
159
impl fmt:: Debug for dyn Any + Send + Sync {
160
160
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
161
- f. debug_struct ( "Any" ) . finish ( )
161
+ f. debug_struct ( "Any" ) . finish_non_exhaustive ( )
162
162
}
163
163
}
164
164
Original file line number Diff line number Diff line change @@ -2270,7 +2270,7 @@ impl<T: ?Sized + Debug> Debug for RefMut<'_, T> {
2270
2270
#[ stable( feature = "core_impl_debug" , since = "1.9.0" ) ]
2271
2271
impl < T : ?Sized > Debug for UnsafeCell < T > {
2272
2272
fn fmt ( & self , f : & mut Formatter < ' _ > ) -> Result {
2273
- f. debug_struct ( "UnsafeCell" ) . finish ( )
2273
+ f. debug_struct ( "UnsafeCell" ) . finish_non_exhaustive ( )
2274
2274
}
2275
2275
}
2276
2276
You can’t perform that action at this time.
0 commit comments