From 4a1945f1b085379aa0ebf7e701ae473fe9640013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Thei=C3=9Fen?= Date: Thu, 5 Dec 2024 11:08:25 +0100 Subject: [PATCH] clippy --- substrate/frame/revive/proc-macro/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/revive/proc-macro/src/lib.rs b/substrate/frame/revive/proc-macro/src/lib.rs index 143ac2db5a45..ed1798e5b689 100644 --- a/substrate/frame/revive/proc-macro/src/lib.rs +++ b/substrate/frame/revive/proc-macro/src/lib.rs @@ -595,7 +595,7 @@ fn expand_func_doc(def: &EnvDef) -> TokenStream2 { quote! { #( #docs )* } }; let availability = if func.is_stable { - let info = format!("\n# Stable API\nThis API is stable and will never change.",); + let info = "\n# Stable API\nThis API is stable and will never change."; quote! { #[doc = #info] } } else { let info =