get two numbers from args and add them together
#![allow(unused)]
fn main() {
let args = std::env::args().collect::<Vec<String>>()
let x = &args[1].parse::<u32>().unwrap();
let y = &args[2].parse::<u32>().except("Oh oh");
}
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
#![allow(unused)]
fn main() {
let args = std::env::args().collect::<Vec<String>>()
let x = &args[1].parse::<u32>().unwrap();
let y = &args[2].parse::<u32>().except("Oh oh");
}