Compare commits

...

2 Commits

Author SHA1 Message Date
Andrew Gallant
33b81cac48 grep-searcher-0.1.10 2022-07-15 10:05:46 -04:00
Andrew Gallant
6a13a4f64d searcher: remove stray 'dbg!' 2022-07-15 10:05:20 -04:00
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@@ -224,7 +224,7 @@ dependencies = [
[[package]]
name = "grep-searcher"
version = "0.1.9"
version = "0.1.10"
dependencies = [
"bstr",
"bytecount",

View File

@@ -1,6 +1,6 @@
[package]
name = "grep-searcher"
version = "0.1.9" #:version
version = "0.1.10" #:version
authors = ["Andrew Gallant <jamslam@gmail.com>"]
description = """
Fast line oriented regex searching as a library.

View File

@@ -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)