1
Fork 0

Gate async fn trait bound modifier on async_trait_bounds

This commit is contained in:
Michael Goulet 2024-11-04 19:29:02 +00:00
parent a6f2f00de8
commit 59e3e8934e
28 changed files with 86 additions and 47 deletions

View file

@ -9,7 +9,7 @@
#![feature(async_closure)]
fn async_closure_test(upvar: &str) -> impl async Fn() + '_ {
fn async_closure_test(upvar: &str) -> impl AsyncFn() + '_ {
async move || {
let hello = String::from("hello");
println!("{hello}, {upvar}");