Why does this parameter need to have a 'static lifetime bound?

后端 未结 0 1911
一整个雨季
一整个雨季 2020-12-03 10:21
use std::future::Future;

struct A;

async fn foo(t: T) 
where 
    T: Fn(&mut A) -> R + Send + Sync + \'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题