Skip to content

Glossary: Coding Interviews in Rust

Option / None

Also written: Option, None, Some

Rust's way to say a value may be missing: `Some(value)` when there is an answer and `None` when there is not. Functions return `None` to mean "no answer".

Where the book teaches it

Related terms

Clarifying question