Merge pull request #751 from mattico/update-playpen-bt
Fix rust playground execute API
This commit is contained in:
commit
76c1c9e0a8
|
@ -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…
Reference in New Issue