all: fix clippy on beta toolchain (#1420)

* all: fix clippy::derive-partial-eq-without-eq

* all: fix clippy::let-and-return

* all: fix clippy::unnecessary-to-owned

* all: fix clippy::needless-return
This commit is contained in:
Jon Häggblad
2022-06-29 20:49:29 +02:00
committed by GitHub
parent f09b984b20
commit 1fc3c2b792
56 changed files with 109 additions and 110 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ use std::{fs, io};
pub(crate) const DESCRIPTION_FILE: &str = "description.toml";
#[derive(Clone, Debug, Deserialize, PartialEq, Serialize)]
#[derive(Clone, Debug, Deserialize, PartialEq, Eq, Serialize)]
pub struct NodeDescription {
pub(crate) name: String,
pub(crate) description: String,