diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-02-04 12:05:53 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-02-23 09:09:44 +0100 |
commit | b22a2a224b7bc9aa90e2f737652e8dd254435854 (patch) | |
tree | 1c4414d97093ca7d35cd23ff55ff16746a94d8de | |
parent | 08fa2715df50e1f599ab3d3030ec1b1832579c81 (diff) |
Allow From* prefix in enum variants
This patch hides `clippy::enum_variant_names`, because renaming the
variants would be too drastic at this point.
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r-- | crates/core/tedge/src/error.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/core/tedge/src/error.rs b/crates/core/tedge/src/error.rs index 46aa68d3..9bc8c224 100644 --- a/crates/core/tedge/src/error.rs +++ b/crates/core/tedge/src/error.rs @@ -1,6 +1,7 @@ use crate::system_services; #[derive(thiserror::Error, Debug)] +#[allow(clippy::enum_variant_names)] pub enum TEdgeError { #[error("TOML parse error")] FromTomlParse(#[from] toml::de::Error), |