mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00

This reverts commit 1d35638dc38dbfbf1cc2a9823135dfcf3c650169, reversing changes made to f23a80a4c2fbca593b64e70f5970368824b4c5e9.
19 lines
347 B
Rust
19 lines
347 B
Rust
#![feature(coverage_attribute)]
|
|
//@ edition: 2021
|
|
|
|
//@ aux-build: executor.rs
|
|
extern crate executor;
|
|
|
|
fn main() {
|
|
for i in 0..16 {
|
|
let future = async {
|
|
if i >= 12 {
|
|
println!("big");
|
|
} else {
|
|
println!("small");
|
|
}
|
|
};
|
|
executor::block_on(future);
|
|
}
|
|
}
|