chore(ci): Deny clippy warnings (#6126)

This commit is contained in:
Donny/강동윤 2022-10-12 13:59:54 +09:00 committed by GitHub
parent 7c9cb80a52
commit d6fd476721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ jobs:
profile: minimal
components: clippy
- run: cargo clippy --all
- run: cargo clippy --all -- -D warnings
cargo-crev:
name: Cargo crev

View File

@ -77,7 +77,6 @@ impl Compressor {
AnPlusB::AnPlusBNotation(AnPlusBNotation {
a: Some(a),
b,
b_raw,
span,
..
}) if *a == 0 => {
@ -92,7 +91,6 @@ impl Compressor {
// `-5n+0` => `-5n`, etc
AnPlusB::AnPlusBNotation(AnPlusBNotation {
a,
a_raw,
b: Some(b),
span,
..

View File

@ -1,3 +1,5 @@
#![allow(clippy::match_like_matches_macro)]
use core::f64::consts::PI;
use std::mem::take;