We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 364f5a2 commit f4fb47bCopy full SHA for f4fb47b
src/tools/clippy/clippy_dev/src/update_lints.rs
@@ -22,20 +22,7 @@ pub fn run(update_mode: UpdateMode) {
22
23
let usable_lint_count = round_to_fifty(usable_lints.len());
24
25
- let mut file_change = replace_region_in_file(
26
- Path::new("src/lintlist/mod.rs"),
27
- "begin lint list",
28
- "end lint list",
29
- false,
30
- update_mode == UpdateMode::Change,
31
- || {
32
- format!("vec!{:#?}", sorted_usable_lints)
33
- .lines()
34
- .map(ToString::to_string)
35
- .collect::<Vec<_>>()
36
- },
37
- )
38
- .changed;
+ let mut file_change = false;
39
40
file_change |= replace_region_in_file(
41
Path::new("README.md"),
src/tools/clippy/src/lintlist/lint.rs
0 commit comments