File tree 2 files changed +19
-22
lines changed
2 files changed +19
-22
lines changed Original file line number Diff line number Diff line change @@ -471,7 +471,7 @@ fn lintcheck_needs_rerun(toml_path: &PathBuf) -> bool {
471
471
472
472
// if clippys modification time is smaller (older) than the logs mod time, we need to rerun
473
473
// lintcheck
474
- dbg ! ( clippy_modified < logs_modified)
474
+ clippy_modified < logs_modified
475
475
}
476
476
477
477
/// lintchecks `main()` function
@@ -485,7 +485,7 @@ pub fn run(clap_config: &ArgMatches) {
485
485
486
486
// if the clippy bin is newer than our logs, throw away target dirs to force clippy to
487
487
// refresh the logs
488
- if dbg ! ( lintcheck_needs_rerun( & toml_path) ) {
488
+ if lintcheck_needs_rerun ( & toml_path) {
489
489
let shared_target_dir = "target/lintcheck/shared_target_dir" ;
490
490
match std:: fs:: metadata ( & shared_target_dir) {
491
491
Ok ( metadata) => {
@@ -621,7 +621,6 @@ pub fn run(clap_config: &ArgMatches) {
621
621
/// read the previous stats from the lintcheck-log file
622
622
fn read_stats_from_file ( file_path : & String ) -> HashMap < String , usize > {
623
623
let file_path = PathBuf :: from ( file_path) ;
624
- dbg ! ( & file_path) ;
625
624
let file_content: String = match std:: fs:: read_to_string ( file_path) . ok ( ) {
626
625
Some ( content) => content,
627
626
None => {
You can’t perform that action at this time.
0 commit comments