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 =