Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,11 @@ panic = "allow"
pattern_type_mismatch = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
rest_pattern_accessible_field = "allow" # TODO: consider, might catch bugs
single_char_lifetime_names = "allow"
struct_excessive_bools = "allow" # TODO: bogus lint?
trivially_copy_pass_by_ref = "allow"
unnecessary_rest_pattern = "allow" # TODO: simple fix
unnecessary_trailing_comma = "allow"
unnested_or_patterns = "allow"
unused_async = "allow" # TODO: is it for API?
Expand All @@ -158,6 +160,7 @@ clone_on_ref_ptr = "allow" # Arc::clone(blah) is needlessly noisy
cognitive_complexity = "allow" # is this ever useful?
decimal_literal_representation = "allow" # arguably more human-readable
default_numeric_fallback = "allow" # too many false positives
definition_in_module_root = "allow" # this is normal
expect_used = "allow" # expect is self-documenting
error_impl_error = "allow" # mod::Error is a fine name
field_scoped_visibility_modifiers = "allow" # possibly good idea, noisy for now
Expand Down
1 change: 1 addition & 0 deletions src/body/incoming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ impl Sender {

/// Send trailers on trailers channel.
#[allow(unused)]
#[allow(clippy::unused_async_trait_impl)]
pub(crate) async fn send_trailers(&mut self, trailers: HeaderMap) -> crate::Result<()> {
let tx = match self.trailers_tx.take() {
Some(tx) => tx,
Expand Down
1 change: 1 addition & 0 deletions src/client/conn/http1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ where
///
/// If there was an error before trying to serialize the request to the
/// connection, the message will be returned as part of this error.
#[allow(clippy::result_large_err)]
pub fn try_send_request(
&mut self,
req: Request<B>,
Expand Down
1 change: 1 addition & 0 deletions src/client/conn/http2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ where
///
/// If there was an error before trying to serialize the request to the
/// connection, the message will be returned as part of this error.
#[allow(clippy::result_large_err)]
pub fn try_send_request(
&mut self,
req: Request<B>,
Expand Down
Loading