lang: clippy fixes

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-06-29 10:06:57 +02:00
parent 1fca7b715d
commit b06b4c7426

View 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),