Skip to content

Commit a9fc412

Browse files
committed
remove some extraneous information from EitherOrBoth::is_both
1 parent 259dcb0 commit a9fc412

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/either_or_both.rs

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ impl<A, B> EitherOrBoth<A, B> {
4343
}
4444

4545
/// If `Both`, return true. Otherwise, return false.
46-
/// Equivalent to `self.as_ref().both().is_some()`.
4746
pub fn is_both(&self) -> bool {
4847
self.as_ref().both().is_some()
4948
}

0 commit comments

Comments
 (0)