Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
rm some tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
astrale-sharp committed Jan 20, 2024
1 parent 51e760b commit 7595727
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,20 @@ impl Ctx {
match c {
' ' => {
if self.just_spaced || result.ends_with(' ') {
debug!("IGNORED space");
} else {
debug!("PUSHED SPACE");
self.just_spaced = true;
result.push(' ');
}
}
'\n' => {
if self.consec_new_line <= 1 {
debug!("PUSHED NEWLINE");
self.consec_new_line += 1;
result.push('\n');
} else {
debug!("IGNORED newline");
}
}
_ => {
// debug!("PUSHED {c}");
result.push(c);
self.lost_context();
}
Expand Down

0 comments on commit 7595727

Please sign in to comment.