Skip to content

Commit e948522

Browse files
committed
Fix formatting on mod
1 parent 88bc1d4 commit e948522

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
@@ -2241,15 +2241,14 @@ impl<T, U> SizeHint for Chain<T, U> {
22412241
SizeHint::lower_bound(&self.first) + SizeHint::lower_bound(&self.second)
22422242
}
22432243

2244-
fn upper_bound(&self) -> Option<usize > {
2244+
fn upper_bound(&self) -> Option<usize> {
22452245
match (SizeHint::upper_bound(&self.first), SizeHint::upper_bound(&self.second)) {
22462246
(Some(first), Some(second)) => Some(first + second),
22472247
_ => None,
22482248
}
22492249
}
22502250
}
22512251

2252-
22532252
/// Reader adaptor which limits the bytes read from an underlying reader.
22542253
///
22552254
/// This struct is generally created by calling [`take`] on a reader.

0 commit comments

Comments
 (0)