Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Flag code listing as wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
athei committed Jan 19, 2023
1 parent adafebc commit 1f6c0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/contracts/proc-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ fn expand_docs(def: &EnvDef) -> TokenStream2 {
});
let import_notice = {
let info = format!(
"\n# Wasm Import Statement\n```\n(import \"seal{}\" \"{}\" (func ...))\n```",
"\n# Wasm Import Statement\n```wat\n(import \"seal{}\" \"{}\" (func ...))\n```",
func.version, func.name,
);
quote! { #[doc = #info] }
Expand Down

0 comments on commit 1f6c0d0

Please sign in to comment.