mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-13 22:32:35 +00:00
commit
a9862a56b3
1 changed files with 2 additions and 2 deletions
|
@ -234,9 +234,9 @@ function run_rust_code(code_block) {
|
|||
result_block = code_block.find(".result");
|
||||
}
|
||||
|
||||
let text = code_block.find(".language-rust").text();
|
||||
var text = code_block.find(".language-rust").text();
|
||||
|
||||
let params = {
|
||||
var params = {
|
||||
version: "stable",
|
||||
optimize: "0",
|
||||
code: text,
|
||||
|
|
Loading…
Reference in a new issue