One more ES5 fix.
This commit is contained in:
parent
eba90f5440
commit
56163f69f8
|
@ -242,7 +242,7 @@ function run_rust_code(code_block) {
|
||||||
code: text,
|
code: text,
|
||||||
};
|
};
|
||||||
|
|
||||||
if(text.includes("#![feature")) {
|
if(text.indexOf("#![feature") !== -1) {
|
||||||
params.version = "nightly";
|
params.version = "nightly";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue