From 369427b38179d15d0ec11f4ee315a16d4aab96e5 Mon Sep 17 00:00:00 2001 From: Richard Dodd Date: Mon, 30 Dec 2019 13:09:11 +0000 Subject: [PATCH] Allow clippy lint in macro output. --- tokio-postgres/src/row.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tokio-postgres/src/row.rs b/tokio-postgres/src/row.rs index da313faa..05a5117e 100644 --- a/tokio-postgres/src/row.rs +++ b/tokio-postgres/src/row.rs @@ -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() {