Merge pull request #17 from dtolnay/clippy

Run clippy on all crates in workspace
This commit is contained in:
David Tolnay 2022-10-08 12:27:57 -07:00 committed by GitHub
commit 5465e7b606
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 2 deletions

View File

@ -61,7 +61,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@clippy
- run: cargo clippy --tests --benches -- -Dclippy::all -Dclippy::pedantic
- run: cargo clippy --tests --benches --workspace -- -Dclippy::all -Dclippy::pedantic
outdated:
name: Outdated

View File

@ -1,3 +1,5 @@
#![allow(clippy::type_complexity, clippy::uninlined_format_args)]
use image::{ImageBuffer, Rgb};
use std::process;

View File

@ -8,8 +8,18 @@
// $ ucd-generate property-bool UCD --include XID_Start,XID_Continue --trie-set > tests/trie/trie.rs
// $ cargo run --manifest-path generate/Cargo.toml
#![allow(
clippy::cast_lossless,
clippy::cast_possible_truncation,
clippy::match_wild_err_arm,
clippy::redundant_closure_for_method_calls,
clippy::too_many_lines,
clippy::uninlined_format_args,
clippy::unreadable_literal
)]
#[rustfmt::skip]
#[allow(dead_code)]
#[allow(dead_code, clippy::all)]
mod ucd;
mod output;