2 ms·
> The Option<T> wrapper type can have a value of None, which is not a type to which methods can be applied. This is not true. I'd like you to the playpen, but
by steveklabnik 12y ago
> The Option<T> wrapper type can have a value of None, which is not a type to which methods can be applied.
This is not true. I'd like you to the playpen, but it would get autokilled
let x: Option<i32> = None;
x.is_some();
h, f, and g in your examples would need to accept an Option as their arguments, but currently don't. That's why you can't chain them together.