]> git.lizzy.rs Git - rust.git/commitdiff
rustfmt
authorUnknown <dobbybabee@gmail.com>
Sun, 13 Jan 2019 21:53:26 +0000 (16:53 -0500)
committerunknown <unknown@example.com>
Fri, 1 Feb 2019 18:21:19 +0000 (13:21 -0500)
clippy_lints/src/functions.rs

index 5b4f6f2ad17b1856ba6ffb5ab303aeeaac8fdf9f..0da7e26a1be40ec9f87a360a460fbc6ea72a7d32 100644 (file)
@@ -90,10 +90,7 @@ pub struct Functions {
 
 impl Functions {
     pub fn new(threshold: u64, max_lines: u64) -> Self {
-        Self {
-            threshold,
-            max_lines
-        }
+        Self { threshold, max_lines }
     }
 }