From 70bd2951912489be75f42e93f6aa5087c8444b3e Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Thu, 2 Jan 2025 23:23:32 +0000 Subject: [PATCH] Fix error message that is printed when multiple Serde formats are selected Found by Clippy's `literal_string_with_formatting_args` lint: https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args --- internal/src/serde_format.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/src/serde_format.rs b/internal/src/serde_format.rs index 1143c4ae..8e8bb308 100644 --- a/internal/src/serde_format.rs +++ b/internal/src/serde_format.rs @@ -23,7 +23,6 @@ pub fn as_feature() -> &'static str { assert!( formats.len() <= 1, - "{}", "Multiple serde formats selected: {formats:?}" );