build: clippy will apply any fixes it can
This commit is contained in:
parent
6a12e69860
commit
dd886d94ed
2 changed files with 1 additions and 6 deletions
2
justfile
2
justfile
|
@ -4,7 +4,7 @@ build:
|
||||||
export RUSTFLAGS="-Cdebuginfo=2 -Cstrip=none --cfg=tarpaulin -Cinstrument-coverage -Clink-dead-code"
|
export RUSTFLAGS="-Cdebuginfo=2 -Cstrip=none --cfg=tarpaulin -Cinstrument-coverage -Clink-dead-code"
|
||||||
cargo fmt
|
cargo fmt
|
||||||
cargo fmt --check
|
cargo fmt --check
|
||||||
cargo clippy
|
cargo clippy --no-deps --fix --allow-dirty
|
||||||
cargo machete
|
cargo machete
|
||||||
# cargo build
|
# cargo build
|
||||||
cargo tarpaulin --skip-clean --out Html
|
cargo tarpaulin --skip-clean --out Html
|
||||||
|
|
|
@ -4,11 +4,6 @@ use std::collections::HashMap;
|
||||||
// type TestResult = Result<(), Box<dyn std::error::Error>>;
|
// type TestResult = Result<(), Box<dyn std::error::Error>>;
|
||||||
|
|
||||||
use assert2::let_assert;
|
use assert2::let_assert;
|
||||||
use kxio::{
|
|
||||||
fs::{FileSystem, TempFileSystem},
|
|
||||||
net::{MockNet, Net},
|
|
||||||
print::Printer,
|
|
||||||
};
|
|
||||||
|
|
||||||
use crate::{config::AppConfig, f, init::run, Ctx, NAME};
|
use crate::{config::AppConfig, f, init::run, Ctx, NAME};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue