Rust: Why do we can use variables after move to another scope

前端 未结 0 1102
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-02 00:17

I have a working example

use std::thread;

const NTHREADS: u32 = 10;

// This is the `main` thread
I have a following example: 

fn main() {
    // Make a vec         


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