Skip to content

Commit fc9cd4a

Browse files
committed
Fix formatting on mod
1 parent 81aba38 commit fc9cd4a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/std/src/io/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2244,15 +2244,14 @@ impl<T, U> SizeHint for Chain<T, U> {
22442244
SizeHint::lower_bound(&self.first) + SizeHint::lower_bound(&self.second)
22452245
}
22462246

2247-
fn upper_bound(&self) -> Option<usize > {
2247+
fn upper_bound(&self) -> Option<usize> {
22482248
match (SizeHint::upper_bound(&self.first), SizeHint::upper_bound(&self.second)) {
22492249
(Some(first), Some(second)) => Some(first + second),
22502250
_ => None,
22512251
}
22522252
}
22532253
}
22542254

2255-
22562255
/// Reader adaptor which limits the bytes read from an underlying reader.
22572256
///
22582257
/// This struct is generally created by calling [`take`] on a reader.

0 commit comments

Comments
 (0)