]> git.proxmox.com Git - proxmox.git/commitdiff
lang: clippy fixes
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 29 Jun 2022 08:06:57 +0000 (10:06 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 29 Jun 2022 08:06:57 +0000 (10:06 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox-lang/src/ops.rs

index c69f6a631f26d982486370233faa2ab5fafba42f..a33f635b4a568721f902423c23117b85189cdc77 100644 (file)
@@ -3,7 +3,7 @@
 /// Modeled after the nightly `std::ops::ControlFlow`.
 ///
 /// Will be removed with crate version 2.0.
-#[derive(Clone, Copy, Debug, PartialEq)]
+#[derive(Clone, Copy, Debug, Eq, PartialEq)]
 #[deprecated(since = "1.1.0", note = "use std::ops::ControlFlow")]
 pub enum ControlFlow<B, C = ()> {
     Continue(C),