Allow upper_case_acronyms
This commit is contained in:
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@@ -6,6 +6,8 @@ jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install Rust
|
||||
@@ -15,10 +17,13 @@ jobs:
|
||||
override: true
|
||||
- name: Run Rustfmt
|
||||
uses: actions-rs/cargo@v1
|
||||
run: cargo fmt -- --check
|
||||
with:
|
||||
command: fmt
|
||||
args: -- --check
|
||||
- name: Run Clippy
|
||||
uses: actions-rs/cargo@v1
|
||||
run: RUSTFLAGS="-D warnings" cargo clippy
|
||||
with:
|
||||
command: clippy
|
||||
doc:
|
||||
name: Docs
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#![allow(clippy::new_without_default)]
|
||||
// the matches! macro is obscure and not widely known.
|
||||
#![allow(clippy::match_like_matches_macro)]
|
||||
// we're not changing public api due to a lint.
|
||||
#![allow(clippy::upper_case_acronyms)]
|
||||
|
||||
//! A simple, safe HTTP client.
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user