We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44c835f commit 5e10809Copy full SHA for 5e10809
clippy_lints/src/functions.rs
@@ -90,7 +90,10 @@ pub struct Functions {
90
91
impl Functions {
92
pub fn new(threshold: u64, max_lines: u64) -> Self {
93
- Self { threshold, max_lines }
+ Self {
94
+ threshold,
95
+ max_lines
96
+ }
97
}
98
99
tests/ui/functions_maxlines.rs
@@ -1,5 +1,6 @@
1
#![warn(clippy::too_many_lines)]
2
3
+
4
fn good_lines() {
5
/* println!("This is good."); */
6
// println!("This is good.");
@@ -106,6 +107,7 @@ fn bad_lines() {
106
107
println!("This is bad.");
108
109
110
+<<<<<<< HEAD
111
112
113
0 commit comments