Skip to content

Commit 2345943

Browse files
committed
Prevent rustfmt from messing up experimental syntax
1 parent d4b3443 commit 2345943

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/pass/async-closure.rs

Lines changed: 1 addition & 0 deletions
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)