We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
EitherOrBoth::is_both
1 parent 259dcb0 commit a9fc412Copy full SHA for a9fc412
src/either_or_both.rs
@@ -43,7 +43,6 @@ impl<A, B> EitherOrBoth<A, B> {
43
}
44
45
/// If `Both`, return true. Otherwise, return false.
46
- /// Equivalent to `self.as_ref().both().is_some()`.
47
pub fn is_both(&self) -> bool {
48
self.as_ref().both().is_some()
49
0 commit comments