Allow upper_case_acronyms

This commit is contained in:
Martin Algesten committed 2021-04-17 12:30:39 +02:00
1 parent a6085d8237
commit 4ade506047
2 files changed
+9 -2

No files matched your search

+7 -2
View File
@@ -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
+2
View File
@@ -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.
//!