Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
athei committed Dec 5, 2024
1 parent e3b4a28 commit 4a1945f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/frame/revive/proc-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 4a1945f

Please sign in to comment.