Slug: opt-qmark-01 · Paired reading: Chapters 2 and 8
Prompt
Implement fn sum_parsed(a: &str, b: &str) -> Result<i32, std::num::ParseIntError>
using ?. No manual match on the parse results.
The curriculum, drills, tutor, and interviewer mode are for readers of Ace the Rust Interview. The code is printed in the Preface (Companion site access).
Don’t have the book yet? Get it on Amazon (US and other storefronts linked in the site footer) — the Preface access code unlocks this gym.
beginner · order 10
Slug: opt-qmark-01 · Paired reading: Chapters 2 and 8
Implement fn sum_parsed(a: &str, b: &str) -> Result<i32, std::num::ParseIntError>
using ?. No manual match on the parse results.