Skip to content

Commit

Permalink
Remove some debugging statements (#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat-Lafon authored May 3, 2023
1 parent 80dc102 commit 903a29d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions lalrpop-test/src/lexer_generic_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ impl<'i> Iterator for Lexer<'i> {
// SAFETY: the indices where returned by char_indices
let slice = unsafe { self.source.get_unchecked(start..end) };

eprintln!("{:?}", slice);

return if slice == "+" {
Some(Ok((start, Token::Plus, end)))
} else if slice.is_empty() {
Expand Down
3 changes: 0 additions & 3 deletions lalrpop/src/lexer/dfa/overlap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ fn add_range(range: Test, start_index: usize, disjoint_ranges: &mut Vec<Test>) {
return;
}

dbg!(&range);
dbg!(&disjoint_ranges);

// Find first overlapping range in `disjoint_ranges`, if any.
match disjoint_ranges[start_index..]
.iter()
Expand Down

0 comments on commit 903a29d

Please sign in to comment.