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:
|
lint:
|
||||||
name: Lint
|
name: Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: -D warnings
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
@@ -15,10 +17,13 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
- name: Run Rustfmt
|
- name: Run Rustfmt
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
run: cargo fmt -- --check
|
with:
|
||||||
|
command: fmt
|
||||||
|
args: -- --check
|
||||||
- name: Run Clippy
|
- name: Run Clippy
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
run: RUSTFLAGS="-D warnings" cargo clippy
|
with:
|
||||||
|
command: clippy
|
||||||
doc:
|
doc:
|
||||||
name: Docs
|
name: Docs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
#![allow(clippy::new_without_default)]
|
#![allow(clippy::new_without_default)]
|
||||||
// the matches! macro is obscure and not widely known.
|
// the matches! macro is obscure and not widely known.
|
||||||
#![allow(clippy::match_like_matches_macro)]
|
#![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.
|
//! A simple, safe HTTP client.
|
||||||
//!
|
//!
|
||||||
|
|||||||
Reference in New Issue
Block a user