Skip to content

Commit

Permalink
fix: Cargo clippy errors
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Gil <[email protected]>
  • Loading branch information
pando85 committed Aug 24, 2023
1 parent 0c6d302 commit d39542a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rash_core/src/modules/find.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ use serde_yaml::Value;
#[cfg(feature = "docs")]
use strum_macros::{Display, EnumString};

#[derive(Debug, PartialEq, Deserialize)]
#[derive(Debug, Default, PartialEq, Deserialize)]
#[cfg_attr(feature = "docs", derive(EnumString, Display, JsonSchema))]
#[serde(rename_all = "lowercase")]
#[derive(Default)]

Check failure on line 58 in rash_core/src/modules/find.rs

View workflow job for this annotation

GitHub Actions / clippy

conflicting implementations of trait `std::default::Default` for type `modules::find::FileType`

error[E0119]: conflicting implementations of trait `std::default::Default` for type `modules::find::FileType` --> rash_core/src/modules/find.rs:58:10 | 55 | #[derive(Debug, Default, PartialEq, Deserialize)] | ------- first implementation here ... 58 | #[derive(Default)] | ^^^^^^^ conflicting implementation for `modules::find::FileType` | = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info)
Expand Down

0 comments on commit d39542a

Please sign in to comment.