From 39d410059117c5b4018aa9e6e954fec5d6fd2723 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Tue, 1 Jan 2019 10:20:25 +0200 Subject: [PATCH] Fix a warning --- ci/script.sh | 2 +- src/steps/os/freebsd.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/script.sh b/ci/script.sh index db416121..b2d8a441 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -5,7 +5,7 @@ set -ex # TODO This is the "test phase", tweak it as you see fit main() { cargo fmt --all -- --check - cargo clippy --all-targets --all-features -- -D warnings + cross clippy --all-targets --all-features -- -D warnings cross check --target $TARGET cross check --target $TARGET --release cross check --target $TARGET --all-features diff --git a/src/steps/os/freebsd.rs b/src/steps/os/freebsd.rs index 8c2136dc..8b7c6e1b 100644 --- a/src/steps/os/freebsd.rs +++ b/src/steps/os/freebsd.rs @@ -1,7 +1,6 @@ use crate::error::{Error, ErrorKind}; use crate::executor::RunType; use crate::terminal::{print_separator, print_warning}; -use crate::utils::Check; use failure::ResultExt; use std::path::PathBuf; use std::process::Command;