about summary refs log tree commit diff
diff options
context:
space:
mode:
authorXavientois <joshua.rampersad@hotmail.com>2021-01-16 17:48:22 -0500
committerXavientois <joshua.rampersad@hotmail.com>2021-01-31 08:34:42 -0500
commitfc9cd4a14be3ea1d5ee29b495045fa51edfc0810 (patch)
tree2f9eee4bf99b8e867db30788ada55958a7d21b66
parent81aba388f16502cbb7b305d64de9ccc95057b339 (diff)
downloadrust-fc9cd4a14be3ea1d5ee29b495045fa51edfc0810.tar.gz
rust-fc9cd4a14be3ea1d5ee29b495045fa51edfc0810.zip
Fix formatting on mod
-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.