1
Fork 0

Replace all fmt.pad with debug_struct

This commit is contained in:
Christiaan Dirkx 2021-04-05 13:31:11 +02:00
parent 62652865b6
commit 1fb3256fcb
21 changed files with 40 additions and 40 deletions

View file

@ -548,7 +548,7 @@ impl Condvar {
#[stable(feature = "std_debug", since = "1.16.0")]
impl fmt::Debug for Condvar {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.pad("Condvar { .. }")
f.debug_struct("Condvar").finish_non_exhaustive()
}
}