Skip to content

Commit 43e9411

Browse files
committed
Prevent rustfmt from messing up experimental syntax
1 parent 893615f commit 43e9411

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/miri/tests/pass/async-closure.rs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pub fn block_on<T>(fut: impl Future<Output = T>) -> T {
1616
}
1717
}
1818

19+
#[rustfmt::skip]
1920
async fn call_once(f: impl async FnOnce(DropMe)) {
2021
f(DropMe("world")).await;
2122
}

0 commit comments

Comments
 (0)