Address review feedback

This commit is contained in:
Anthony Bullard 2024-12-31 22:11:28 -06:00
parent 3b0db07fa1
commit 8c77a54b4f
No known key found for this signature in database
13 changed files with 217 additions and 66 deletions

View file

@ -101,7 +101,10 @@ fn round_trip_once(input: Input<'_>, options: Options) -> Option<String> {
let arena = Bump::new();
let actual = match input.parse_in(&arena) {
Ok(a) => a,
Ok(a) => {
println!("actual {a:#?}");
a
}
Err(e) => {
if options.minimize_initial_parse_error {
return Some(format!("Initial parse failed: {:?}", e.normalize(&arena)));

View file

@ -351,8 +351,6 @@ impl<'a> Input<'a> {
panic!("Unexpected parse failure when parsing this for formatting:\n\n{}\n\nParse error was:\n\n{:#?}\n\n", self.as_str(), err);
});
println!("Actual {actual:#?}");
let output = actual.format();
handle_formatted_output(output.as_ref());