From 951c6f55b0042ed706859363e094397440dddc0d Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 1 Feb 2021 19:17:53 -0600 Subject: [PATCH] style: Resolve clippy --- src/assert.rs | 2 -- src/fixture/dir.rs | 2 -- src/fixture/file.rs | 2 -- src/fixture/tools.rs | 2 -- 4 files changed, 8 deletions(-) diff --git a/src/assert.rs b/src/assert.rs index 2adc6f0..cd4fac7 100644 --- a/src/assert.rs +++ b/src/assert.rs @@ -24,10 +24,8 @@ use std::fmt; use std::path; -use predicates; use predicates::path::PredicateFileContentExt; use predicates::str::PredicateStrExt; -use predicates_core; use predicates_tree::CaseTreeExt; use crate::fixture; diff --git a/src/fixture/dir.rs b/src/fixture/dir.rs index cc6d98b..492b4a1 100644 --- a/src/fixture/dir.rs +++ b/src/fixture/dir.rs @@ -1,7 +1,5 @@ use std::path; -use tempfile; - use super::errors::*; /// A directory in the filesystem that is automatically deleted when diff --git a/src/fixture/file.rs b/src/fixture/file.rs index 3509d9f..3fb1e41 100644 --- a/src/fixture/file.rs +++ b/src/fixture/file.rs @@ -1,8 +1,6 @@ use std::ffi; use std::path; -use tempfile; - use super::errors::*; /// A potential file in the filesystem that is automatically deleted when diff --git a/src/fixture/tools.rs b/src/fixture/tools.rs index 4e665f7..72dcb7b 100644 --- a/src/fixture/tools.rs +++ b/src/fixture/tools.rs @@ -4,8 +4,6 @@ use std::fs; use std::io::Write; use std::path; -use globwalk; - use super::errors::*; use super::ChildPath; use super::NamedTempFile;