summaryrefslogtreecommitdiffstats
path: root/grep-cli
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-09-04 22:54:13 -0400
committerAndrew Gallant <jamslam@gmail.com>2018-09-04 23:18:55 -0400
commitfd22cd520bf7c76b53ec0001dff5bf898ce92c75 (patch)
tree6b67449efd5c0def580743eb57e6cad1efde733d /grep-cli
parent241bc8f8fcfdc725afa65ee539c37960b10550b1 (diff)
windows: fix unused warnings on Windows
Diffstat (limited to 'grep-cli')
-rw-r--r--grep-cli/src/pattern.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/grep-cli/src/pattern.rs b/grep-cli/src/pattern.rs
index ed1d95a5..dbdb1d8f 100644
--- a/grep-cli/src/pattern.rs
+++ b/grep-cli/src/pattern.rs
@@ -183,7 +183,7 @@ pub fn patterns_from_reader<R: io::Read>(rdr: R) -> io::Result<Vec<String>> {
#[cfg(test)]
mod tests {
- use super::{pattern_from_bytes, pattern_from_os};
+ use super::*;
#[test]
fn bytes() {