Skip to content

Commit b47aef2

Browse files
committed
Auto merge of #3300 - RalfJung:rustup, r=RalfJung
Rustup With rust-lang/rust#121035 landed we can rustfmt format `async FnOnce`.
2 parents 4fc6f31 + 911aebe commit b47aef2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d26b41711282042c4ea0c5733e7332b07cfa4933
1+
502ce8287bc3c86dca07acc38c5ff9431a6097be

tests/pass/async-closure.rs

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

19-
#[rustfmt::skip]
2019
async fn call_once(f: impl async FnOnce(DropMe)) {
2120
f(DropMe("world")).await;
2221
}

0 commit comments

Comments
 (0)