Skip to content

Commit

Permalink
Auto merge of #3300 - RalfJung:rustup, r=RalfJung
Browse files Browse the repository at this point in the history
Rustup

With rust-lang/rust#121035 landed we can rustfmt format `async FnOnce`.
  • Loading branch information
bors committed Feb 14, 2024
2 parents 4fc6f31 + 911aebe commit 98101a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion rust-version
@@ -1 +1 @@
d26b41711282042c4ea0c5733e7332b07cfa4933
502ce8287bc3c86dca07acc38c5ff9431a6097be
1 change: 0 additions & 1 deletion tests/pass/async-closure.rs
Expand Up @@ -16,7 +16,6 @@ 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 98101a3

Please sign in to comment.