Fix formatting on mod
This commit is contained in:
parent
81aba388f1
commit
fc9cd4a14b
1 changed files with 1 additions and 2 deletions
|
@ -2244,7 +2244,7 @@ impl<T, U> SizeHint for Chain<T, U> {
|
|||
SizeHint::lower_bound(&self.first) + SizeHint::lower_bound(&self.second)
|
||||
}
|
||||
|
||||
fn upper_bound(&self) -> Option<usize > {
|
||||
fn upper_bound(&self) -> Option<usize> {
|
||||
match (SizeHint::upper_bound(&self.first), SizeHint::upper_bound(&self.second)) {
|
||||
(Some(first), Some(second)) => Some(first + second),
|
||||
_ => None,
|
||||
|
@ -2252,7 +2252,6 @@ impl<T, U> SizeHint for Chain<T, U> {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/// Reader adaptor which limits the bytes read from an underlying reader.
|
||||
///
|
||||
/// This struct is generally created by calling [`take`] on a reader.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue