From 1f6c0d0e1c2b66ead67f0fa3251daee1ae441756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Thei=C3=9Fen?= Date: Thu, 19 Jan 2023 14:05:54 -0300 Subject: [PATCH] Flag code listing as wasm --- frame/contracts/proc-macro/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame/contracts/proc-macro/src/lib.rs b/frame/contracts/proc-macro/src/lib.rs index ee39f8348252b..ed9000b0ad939 100644 --- a/frame/contracts/proc-macro/src/lib.rs +++ b/frame/contracts/proc-macro/src/lib.rs @@ -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] }