Skip to content

Commit

Permalink
Allow clippy lint in macro output.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekdreery committed Feb 17, 2020
1 parent 51dac3c commit 369427b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tokio-postgres/src/row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ impl fmt::Debug for Row {
struct RowData<'a>(&'a Row);

impl fmt::Debug for RowData<'_> {
#[allow(clippy::match_ref_pats)]
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let mut map = f.debug_map();
for (idx, col) in self.0.columns().iter().enumerate() {
Expand Down

0 comments on commit 369427b

Please sign in to comment.