Skip to content

Commit

Permalink
Allow manual_unwrap_or_default in all generated impls
Browse files Browse the repository at this point in the history
  • Loading branch information
TedDriggs committed Jul 9, 2024
1 parent 303f12b commit 6a057da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/codegen/outer_from_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pub trait OuterFromImpl<'a> {

tokens.append_all(quote!(
#[automatically_derived]
#[allow(clippy::manual_unwrap_or_default)]
impl #impl_generics #trayt for #ty_ident #ty_generics
#where_clause
{
Expand Down

0 comments on commit 6a057da

Please sign in to comment.