mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-14 14:52:37 +00:00
commit
6c279453d9
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ function run_rust_code(code_block) {
|
|||
code: text,
|
||||
};
|
||||
|
||||
if(text.includes("#![feature")) {
|
||||
if(text.indexOf("#![feature") !== -1) {
|
||||
params.version = "nightly";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue