about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUnknown <dobbybabee@gmail.com>2019-01-13 16:53:26 -0500
committerunknown <unknown@example.com>2019-02-01 13:21:19 -0500
commit6931b0f5a16c02e314fda6d3cccc5c08c51ceb68 (patch)
tree37d36aadbaf1512698012a0e93b1c1e87e1c7158
parent65f62d04976c387c30a876e37fa6f446d99a3767 (diff)
downloadrust-6931b0f5a16c02e314fda6d3cccc5c08c51ceb68.tar.gz
rust-6931b0f5a16c02e314fda6d3cccc5c08c51ceb68.zip
rustfmt
-rw-r--r--clippy_lints/src/functions.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/clippy_lints/src/functions.rs b/clippy_lints/src/functions.rs
index 5b4f6f2ad17..0da7e26a1be 100644
--- a/clippy_lints/src/functions.rs
+++ b/clippy_lints/src/functions.rs
@@ -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 }
     }
 }