Replace all fmt.pad
with debug_struct
This commit is contained in:
parent
62652865b6
commit
1fb3256fcb
21 changed files with 40 additions and 40 deletions
|
@ -145,6 +145,6 @@ impl fmt::Display for EscapeDefault {
|
|||
#[stable(feature = "std_debug", since = "1.16.0")]
|
||||
impl fmt::Debug for EscapeDefault {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
f.pad("EscapeDefault { .. }")
|
||||
f.debug_struct("EscapeDefault").finish_non_exhaustive()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue