about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/io/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs
index 08b258bb816..b7ccf9f21ef 100644
--- a/library/std/src/io/mod.rs
+++ b/library/std/src/io/mod.rs
@@ -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.