From ffe186c2fee30063bdb0b51a108519008662bb07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Tue, 12 Nov 2024 11:48:37 +0100 Subject: [PATCH] Make clippy happy --- roaring/src/bitmap/store/bitmap_store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roaring/src/bitmap/store/bitmap_store.rs b/roaring/src/bitmap/store/bitmap_store.rs index 91b432bc..aaeb99d6 100644 --- a/roaring/src/bitmap/store/bitmap_store.rs +++ b/roaring/src/bitmap/store/bitmap_store.rs @@ -394,7 +394,7 @@ impl Display for Error { fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { match self.kind { ErrorKind::Cardinality { expected, actual } => { - write!(f, "Expected cardinality was {} but was {}", expected, actual) + write!(f, "Expected cardinality was {expected} but was {actual}") } } }