]> git.lizzy.rs Git - rust.git/commitdiff
formatting
authorDrMeepster <19316085+DrMeepster@users.noreply.github.com>
Fri, 22 Oct 2021 04:18:22 +0000 (21:18 -0700)
committerDrMeepster <19316085+DrMeepster@users.noreply.github.com>
Wed, 3 Nov 2021 05:47:28 +0000 (22:47 -0700)
library/std/src/io/mod.rs

index f75cc9c3b171c10b1439d968e0031d7269a18354..dd182c059b9cba39e6e0f5180d4296699cc1a6be 100644 (file)
@@ -382,7 +382,7 @@ pub(crate) fn default_read_to_end<R: Read + ?Sized>(r: &mut R, buf: &mut Vec<u8>
         }
 
         if read_buf.filled_len() == 0 {
-            return Ok(buf.len() - start_len) 
+            return Ok(buf.len() - start_len);
         }
 
         // store how much was initialized but not filled