clippy fixes

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 <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2022-10-24 12:10:19 +02:00
parent e0fb53e41d
commit 495da87f80

View File

@ -169,7 +169,7 @@ pub enum ChunkOrder {
} }
#[api] #[api]
#[derive(PartialEq, Serialize, Deserialize)] #[derive(PartialEq, Eq, Serialize, Deserialize)]
#[serde(rename_all = "lowercase")] #[serde(rename_all = "lowercase")]
/// The level of syncing that is done when writing into a datastore. /// The level of syncing that is done when writing into a datastore.
pub enum DatastoreFSyncLevel { pub enum DatastoreFSyncLevel {