From 495da87f80a62e588889bf4243e3b2736931cf60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Mon, 24 Oct 2022 12:10:19 +0200 Subject: [PATCH] clippy fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the dropped .into() is guarded by the bumped build-dependency on proxmox-sys 0.4.1, the missing Eq is a new clippy lint. Signed-off-by: Fabian Grünbichler --- pbs-api-types/src/datastore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbs-api-types/src/datastore.rs b/pbs-api-types/src/datastore.rs index 15ea80cd..865a7b55 100644 --- a/pbs-api-types/src/datastore.rs +++ b/pbs-api-types/src/datastore.rs @@ -169,7 +169,7 @@ pub enum ChunkOrder { } #[api] -#[derive(PartialEq, Serialize, Deserialize)] +#[derive(PartialEq, Eq, Serialize, Deserialize)] #[serde(rename_all = "lowercase")] /// The level of syncing that is done when writing into a datastore. pub enum DatastoreFSyncLevel {