From 19c29ab9b259e75f5d4c8edcd8ecfd256cb43bba Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 22 Nov 2021 09:07:29 +0100 Subject: [PATCH] clipy fixes Signed-off-by: Wolfgang Bumiller --- proxmox-lang/src/ops.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxmox-lang/src/ops.rs b/proxmox-lang/src/ops.rs index 8b0723ab..c69f6a63 100644 --- a/proxmox-lang/src/ops.rs +++ b/proxmox-lang/src/ops.rs @@ -4,7 +4,7 @@ /// /// Will be removed with crate version 2.0. #[derive(Clone, Copy, Debug, PartialEq)] -#[deprecated(since = "1.1", note = "use std::ops::ControlFlow")] +#[deprecated(since = "1.1.0", note = "use std::ops::ControlFlow")] pub enum ControlFlow { Continue(C), Break(B), @@ -12,6 +12,6 @@ pub enum ControlFlow { #[allow(deprecated)] impl ControlFlow { - #[deprecated(since = "1.1", note = "use std::ops::ControlFlow")] + #[deprecated(since = "1.1.0", note = "use std::ops::ControlFlow")] pub const CONTINUE: ControlFlow = ControlFlow::Continue(()); }