1
Fork 0

Fix formatting on mod

This commit is contained in:
Xavientois 2021-01-16 17:48:22 -05:00
parent 81aba388f1
commit fc9cd4a14b

View file

@ -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.