From 9c8e967aff1d82a93f581f49205b0f3c35e546fa Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 9 Nov 2021 12:36:47 -0500 Subject: [PATCH] Trying to fix clippy again --- crates/apub_lib/src/object_id.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/apub_lib/src/object_id.rs b/crates/apub_lib/src/object_id.rs index 6764f4c1d..546430685 100644 --- a/crates/apub_lib/src/object_id.rs +++ b/crates/apub_lib/src/object_id.rs @@ -170,7 +170,7 @@ where Kind: ApubObject + Send + 'static, for<'de2> ::ApubType: serde::Deserialize<'de2>, { - #[allow(clippy::to_string_in_format_args)] + #[allow(clippy::to_string_in_display)] fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { // Use to_string here because Url.display is not useful for us write!(f, "{}", self.0.to_string())