Skip to content

Commit 5c959d0

Browse files
committed
Allow clippy lint in macro output.
1 parent 30d3bd4 commit 5c959d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tokio-postgres/src/row.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ impl fmt::Debug for Row {
124124
struct RowData<'a>(&'a Row);
125125

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

0 commit comments

Comments
 (0)