Skip to content

Commit

Permalink
fix: supress warning about dereference operator
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaka91 committed Oct 20, 2023
1 parent d44c12d commit 21b2f69
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/stef-build/src/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ pub fn compile_struct(
quote! {
#[automatically_derived]
impl #generics ::stef::Encode for #name #generics #generics_where {
#[allow(clippy::needless_borrow, clippy::explicit_auto_deref)]
#[allow(
clippy::borrow_deref_ref,
clippy::explicit_auto_deref,
clippy::needless_borrow,
)]
fn encode(&self, w: &mut impl ::stef::BufMut) {
#fields
}
Expand Down

0 comments on commit 21b2f69

Please sign in to comment.