From 1c5f27014c1961c5caf924334512298edb8614bf Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 19 Jun 2024 14:54:51 +0200 Subject: [PATCH] time: drop TryFrom/TryInto imports they're in the prelude by now Signed-off-by: Wolfgang Bumiller --- proxmox-time/src/calendar_event.rs | 3 --- proxmox-time/src/daily_duration.rs | 3 --- 2 files changed, 6 deletions(-) diff --git a/proxmox-time/src/calendar_event.rs b/proxmox-time/src/calendar_event.rs index 4a96c83e..46fa1806 100644 --- a/proxmox-time/src/calendar_event.rs +++ b/proxmox-time/src/calendar_event.rs @@ -1,6 +1,3 @@ -#[cfg(not(target_arch = "wasm32"))] -use std::convert::TryInto; - use anyhow::Error; use nom::{ bytes::complete::tag, diff --git a/proxmox-time/src/daily_duration.rs b/proxmox-time/src/daily_duration.rs index 9a8bdfc7..8f4459d1 100644 --- a/proxmox-time/src/daily_duration.rs +++ b/proxmox-time/src/daily_duration.rs @@ -1,8 +1,5 @@ use std::cmp::{Ordering, PartialOrd}; -#[cfg(not(target_arch = "wasm32"))] -use std::convert::{TryFrom, TryInto}; - use anyhow::Error; use nom::{ bytes::complete::tag, character::complete::space0, error::context, multi::separated_list1,