I’m working on a project in Rust to build a performance-competitive, library-quality implementation of a map with sorted keys.
Since it's a new language for me, I didn't notice the genie using an awkward idiom when calling functions that return an Option. The (apparently) default style is to explicitly check results with an if statement.
if let Some(left)…