From dd886d94edefb607a9034626532c64ae8ea687fa Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 13 Dec 2024 08:44:26 +0000 Subject: [PATCH] build: clippy will apply any fixes it can --- justfile | 2 +- src/tests/mod.rs | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/justfile b/justfile index ad8421e..1b9c1da 100644 --- a/justfile +++ b/justfile @@ -4,7 +4,7 @@ build: export RUSTFLAGS="-Cdebuginfo=2 -Cstrip=none --cfg=tarpaulin -Cinstrument-coverage -Clink-dead-code" cargo fmt cargo fmt --check - cargo clippy + cargo clippy --no-deps --fix --allow-dirty cargo machete # cargo build cargo tarpaulin --skip-clean --out Html diff --git a/src/tests/mod.rs b/src/tests/mod.rs index aba732e..e051188 100644 --- a/src/tests/mod.rs +++ b/src/tests/mod.rs @@ -4,11 +4,6 @@ use std::collections::HashMap; // type TestResult = Result<(), Box>; use assert2::let_assert; -use kxio::{ - fs::{FileSystem, TempFileSystem}, - net::{MockNet, Net}, - print::Printer, -}; use crate::{config::AppConfig, f, init::run, Ctx, NAME};