Merge pull request #751 from mattico/update-playpen-bt
Fix rust playground execute API
This commit is contained in:
commit
76c1c9e0a8
1 changed files with 2 additions and 1 deletions
|
|
@ -101,7 +101,8 @@ function playpen_text(playpen) {
|
||||||
crateType: "bin",
|
crateType: "bin",
|
||||||
tests: false,
|
tests: false,
|
||||||
code: text,
|
code: text,
|
||||||
}
|
backtrace: false,
|
||||||
|
};
|
||||||
|
|
||||||
if (text.indexOf("#![feature") !== -1) {
|
if (text.indexOf("#![feature") !== -1) {
|
||||||
params.channel = "nightly";
|
params.channel = "nightly";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue