Fix minor nit (match ergonomics)

This commit is contained in:
Sean Bowe 2021-02-17 15:39:46 -07:00
parent 2b1c319ba0
commit 8060a12ea4
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ struct PinnedGates<'a, F: Field>(&'a Vec<(&'static str, Expression<F>)>);
impl<'a, F: Field> std::fmt::Debug for PinnedGates<'a, F> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
f.debug_list()
.entries(self.0.iter().map(|&(_, ref expr)| expr))
.entries(self.0.iter().map(|(_, expr)| expr))
.finish()
}
}