zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 25266d08046df6032007b46346faf01a2f40ef31 (tree)
parent 1f2f9f05c254374044d8c30cce6f299d7a18da72
Author: Mr. Paul <mrpaul@aestheticwisdom.com>
Date:   Mon, 27 Sep 2021 09:34:59 +0700

Langref: fix HTML escaped symbol WASM JavaScript code example

docgen HTML escapes characters inside of `syntax_block`s. This commit replaces the escaped
greater than with the `>` character. No other occurrences were found.

Fixes #9840

Diffstat:
Mdoc/langref.html.in | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -10543,8 +10543,8 @@ const typedArray = new Uint8Array(source); WebAssembly.instantiate(typedArray, { env: { - print: (result) =&gt; { console.log(`The result is ${result}`); } - }}).then(result =&gt; { + print: (result) => { console.log(`The result is ${result}`); } + }}).then(result => { const add = result.instance.exports.add; add(1, 2); });{#end_syntax_block#}