Use match to parse the string "42" into an i32. Print the result if it succeeds, or an error message if it fails.
match
"42"
i32
Expected output:
Parsed: 42
Hints:
"42".parse::<i32>()
Ok(n)
Err(e)