Skip to content

Commit

Permalink
clippy: needless_maybe_sized (#2545)
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau authored Aug 13, 2024
1 parent 41dc227 commit e25a999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frozen-abi/src/abi_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ impl<T: Serialize + ?Sized> AbiEnumVisitor for T {
}
}

impl<T: Serialize + ?Sized + AbiExample> AbiEnumVisitor for T {
impl<T: Serialize + AbiExample> AbiEnumVisitor for T {
default fn visit_for_abi(&self, digester: &mut AbiDigester) -> DigestResult {
info!("AbiEnumVisitor for T: {}", type_name::<T>());
// not calling self.serialize(...) is intentional here as the most generic impl
Expand Down

0 comments on commit e25a999

Please sign in to comment.