Address lints

This commit is contained in:
Ayaz Hafiz 2023-01-30 16:48:25 -06:00
parent 8c68044c54
commit 4a59e24081
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -1293,7 +1293,7 @@ mod dbg {
impl<'a, 'r, I: LayoutInterner<'a>> std::fmt::Debug for DbgTags<'a, 'r, I> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_list()
.entries(self.1.iter().map(|l| DbgFields(self.0, *l)))
.entries(self.1.iter().map(|l| DbgFields(self.0, l)))
.finish()
}
}
@ -1380,7 +1380,7 @@ mod dbg {
.entries(
self.1
.iter()
.map(|(sym, captures)| (sym, DbgFields(self.0, &captures))),
.map(|(sym, captures)| (sym, DbgFields(self.0, captures))),
)
.finish()
}