Martin Tzvetanov Grigorov created AVRO-3639:
-----------------------------------------------
Summary: [Rust] Derive implementation for Eq where possible
Key: AVRO-3639
URL: https://issues.apache.org/jira/browse/AVRO-3639
Project: Apache Avro
Issue Type: Improvement
Components: rust
Reporter: Martin Tzvetanov Grigorov
Assignee: Martin Tzvetanov Grigorov
Rust nightly clippy reports errors like:
{code:java}
error: you are deriving `PartialEq` and can implement `Eq`
--> avro_derive/tests/derive.rs:1081:64
|
1081 | #[derive(Debug, Serialize, Deserialize, AvroSchema, Clone,
PartialEq)]
| ^^^^^^^^^
help: consider deriving `Eq` as well: `PartialEq, Eq`
|
= help: for further information visit
https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
{code}
Most of those errors are in test code but anyway it would be good to fix them!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)