Skip to content

Commit

Permalink
Prevent rustfmt from messing up experimental syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Feb 13, 2024
1 parent 893615f commit 43e9411
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/miri/tests/pass/async-closure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pub fn block_on<T>(fut: impl Future<Output = T>) -> T {
}
}

#[rustfmt::skip]
async fn call_once(f: impl async FnOnce(DropMe)) {
f(DropMe("world")).await;
}
Expand Down

0 comments on commit 43e9411

Please sign in to comment.