diff options
author | Andrew Gallant <jamslam@gmail.com> | 2022-03-21 08:31:49 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2022-03-21 08:59:05 -0400 |
commit | 5370064f00856b781c468aabfeaa875408171e03 (patch) | |
tree | fa18e29eab3bc0ca7754c246c625148d91729eef /crates/searcher/src/searcher/glue.rs | |
parent | b6189c659e2cf6ff70c5fd7bbc31a9a8fdb44d94 (diff) |
warnings: remove/tweak some dead code
It looks like the dead code detector got better, so do a little code
cleanup.
Diffstat (limited to 'crates/searcher/src/searcher/glue.rs')
-rw-r--r-- | crates/searcher/src/searcher/glue.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/searcher/src/searcher/glue.rs b/crates/searcher/src/searcher/glue.rs index 21a58aa4..1ff208bc 100644 --- a/crates/searcher/src/searcher/glue.rs +++ b/crates/searcher/src/searcher/glue.rs @@ -88,7 +88,6 @@ where #[derive(Debug)] pub struct SliceByLine<'s, M, S> { - config: &'s Config, core: Core<'s, M, S>, slice: &'s [u8], } @@ -103,7 +102,6 @@ impl<'s, M: Matcher, S: Sink> SliceByLine<'s, M, S> { debug_assert!(!searcher.multi_line_with_matcher(&matcher)); SliceByLine { - config: &searcher.config, core: Core::new(searcher, matcher, write_to, true), slice: slice, } |