Skip to content

Commit

Permalink
chore: Remove outdated lint config (#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Jun 22, 2024
1 parent 771bdd0 commit 4c6dffc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion tonic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
//! [flate2]: https://crates.io/crates/flate2

#![recursion_limit = "256"]
#![allow(clippy::inconsistent_struct_constructor)]
#![warn(
missing_debug_implementations,
missing_docs,
Expand Down
4 changes: 0 additions & 4 deletions tonic/src/metadata/value.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::upper_case_acronyms)]

use super::encoding::{
Ascii, Binary, InvalidMetadataValue, InvalidMetadataValueBytes, ValueEncoding,
};
Expand Down Expand Up @@ -381,8 +379,6 @@ impl TryFrom<String> for MetadataValue<Ascii> {
}
}

// is_empty is defined in the generic impl block above
#[allow(clippy::len_without_is_empty)]
impl MetadataValue<Ascii> {
/// Converts a MetadataKey into a `MetadataValue<Ascii>`.
///
Expand Down
1 change: 0 additions & 1 deletion tonic/src/service/interceptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ where

#[cfg(test)]
mod tests {
#[allow(unused_imports)]
use super::*;
use http_body::Frame;
use http_body_util::Empty;
Expand Down

0 comments on commit 4c6dffc

Please sign in to comment.