⎹fn main() { println!("Hello, world!"); }↵
rustc main.rs↵
cargo check↵
use std::thread; thread::spawn(|| println!("Hello from another thread"));↵
impl Person { fn greet(&self) { println!("Hello, {}!", self.name); } }
Start typing to begin!
0s
Progress:0%
WPM
0
Accuracy
100%