What does “|” stands for in Rust and why so?

前端 未结 0 1906
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-01 18:37

I am learning Rust right now and see codes like this:

 let handles: Vec<_> = philosophers.into_iter().map(|p| {
            thread::spawn(move || {
                 


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