← Quit0 / 0 correct
Why doesn't this compile?
let v = vec![1, 2, 3];
let h = std::thread::spawn(|| println!("{v:?}"));
h.join().unwrap();Why doesn't this compile?
let v = vec![1, 2, 3];
let h = std::thread::spawn(|| println!("{v:?}"));
h.join().unwrap();