summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2022-07-15 10:05:20 -0400
committerAndrew Gallant <jamslam@gmail.com>2022-07-15 10:05:20 -0400
commit6a13a4f64dc7648e15a914b470f0aaae0fc3f6f0 (patch)
tree94e9d5285921e12498197aa5598f5cdd5135f4f9
parentb13d835d95ef86e38d9d2908c954a337f91669e0 (diff)
searcher: remove stray 'dbg!'
-rw-r--r--crates/searcher/src/searcher/core.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/searcher/src/searcher/core.rs b/crates/searcher/src/searcher/core.rs
index e68780ac..7d6ccd66 100644
--- a/crates/searcher/src/searcher/core.rs
+++ b/crates/searcher/src/searcher/core.rs
@@ -108,7 +108,7 @@ impl<'s, M: Matcher, S: Sink> Core<'s, M, S> {
}
pub fn match_by_line(&mut self, buf: &[u8]) -> Result<bool, S::Error> {
- if dbg!(self.is_line_by_line_fast()) {
+ if self.is_line_by_line_fast() {
self.match_by_line_fast(buf)
} else {
self.match_by_line_slow(buf)