Skip to content

Commit

Permalink
Remove debugging print
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscerie committed Oct 15, 2023
1 parent c7d371b commit 0addbc8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions selene/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ fn apply_diagnostics_fixes(code: &str, diagnostics: &Vec<&Diagnostic>) -> String
}
});

println!("{}", chosen_diagnostics.iter().count());

new_code
}

Expand Down Expand Up @@ -361,14 +359,6 @@ fn read<R: Read>(
.collect(),
);

println!(
"Fixer generated invalid code:\n\
----------------\n\
{}\n\
----------------\n",
fixed_code
);

let fixed_ast = full_moon::parse(&fixed_code).expect(
"selene tried applying lint suggestions, but it generated invalid code that could not be parsed; \
this is likely a selene bug",
Expand Down

0 comments on commit 0addbc8

Please sign in to comment.