summaryrefslogtreecommitdiffstats
path: root/crates/searcher/src/line_buffer.rs
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2024-03-07 09:37:48 -0500
committerAndrew Gallant <jamslam@gmail.com>2024-03-07 09:37:48 -0500
commit59212d08d3ef122adc781dfa09343df7848febf8 (patch)
tree8298e08f689b88ebca0e07948be31efda2d1ff5f /crates/searcher/src/line_buffer.rs
parent6ebebb2aaa9991694aed10b944cf2e8196811e1c (diff)
style: fix new lints
The Rust compiler seems to have gotten smarter at finding unused or redundant imports.
Diffstat (limited to 'crates/searcher/src/line_buffer.rs')
-rw-r--r--crates/searcher/src/line_buffer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/searcher/src/line_buffer.rs b/crates/searcher/src/line_buffer.rs
index 822bdee4..e73c6504 100644
--- a/crates/searcher/src/line_buffer.rs
+++ b/crates/searcher/src/line_buffer.rs
@@ -548,7 +548,7 @@ fn replace_bytes(
#[cfg(test)]
mod tests {
- use bstr::{ByteSlice, ByteVec};
+ use bstr::ByteVec;
use super::*;