Skip to content

Commit c4ab1d6

Browse files
committed
Bring shim.rs up-to-date
1 parent fafe070 commit c4ab1d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/mir/drop_shim.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ pub struct DropShimElaborator<'a, 'tcx> {
146146
}
147147

148148
impl fmt::Debug for DropShimElaborator<'_, '_> {
149-
fn fmt(&self, _f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> {
150-
Ok(())
149+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> {
150+
f.debug_struct("DropShimElaborator").finish_non_exhaustive()
151151
}
152152
}
153153

0 commit comments

Comments
 (0)