-
-
Notifications
You must be signed in to change notification settings - Fork 173
Open
Description
The combinator pages states:
Rust nightly support xor() for Option types, which returns Some only if one expression got Some, but not both.
And here the relevant part from the std source:
#[stable(feature = "option_xor", since = "1.37.0")]
pub fn xor(self, optb: Option<T>) -> Option<T>
dumindu
Metadata
Metadata
Assignees
Labels
No labels