Skip to content

Commit 2e5c0e9

Browse files
committed
Tweak fmt::Debug impl
1 parent b33335c commit 2e5c0e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ impl Default for MT19937 {
8383
}
8484
impl core::fmt::Debug for MT19937 {
8585
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
86-
f.pad("MT19937")
86+
f.debug_struct("MT19937").finish_non_exhaustive()
8787
}
8888
}
8989

0 commit comments

Comments
 (0)