diff options
Diffstat (limited to 'src/search_stream.rs')
-rw-r--r-- | src/search_stream.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/search_stream.rs b/src/search_stream.rs index 7a773918..6ef8c451 100644 --- a/src/search_stream.rs +++ b/src/search_stream.rs @@ -4,14 +4,13 @@ printing matches. In particular, it searches the file in a streaming fashion using `read` calls and a (roughly) fixed size buffer. */ -extern crate bytecount; - use std::cmp; use std::error::Error as StdError; use std::fmt; use std::io; use std::path::{Path, PathBuf}; +use bytecount; use grep::{Grep, Match}; use memchr::{memchr, memrchr}; use term::Terminal; |