Skip to content

Commit 6567ffc

Browse files
committed
Reserve output for ?play and ?eval immediately after receiving them
1 parent 7f4f21f commit 6567ffc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/playground.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ fn run_code(args: &Args, code: &str) -> Result<String, Error> {
164164
request.crate_type = CrateType::Library;
165165
}
166166

167+
let message = "*Running code on playground...*";
168+
api::send_reply(&args, message)?;
169+
167170
let resp = args
168171
.http
169172
.post("https://play.rust-lang.org/execute")

0 commit comments

Comments
 (0)