From 378b763408b7de91ef04b0b85f502b7f228d2f06 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 6 Dec 2022 11:19:41 +0100 Subject: [PATCH] tree-wide: bump edition to 2021 Signed-off-by: Wolfgang Bumiller --- pbs-api-types/Cargo.toml | 2 +- pbs-api-types/src/tape/drive.rs | 2 -- pbs-api-types/src/userid.rs | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/pbs-api-types/Cargo.toml b/pbs-api-types/Cargo.toml index 8f897d5d..61d37d77 100644 --- a/pbs-api-types/Cargo.toml +++ b/pbs-api-types/Cargo.toml @@ -2,7 +2,7 @@ name = "pbs-api-types" version = "0.1.0" authors = ["Proxmox Support Team "] -edition = "2018" +edition = "2021" description = "general API type helpers for PBS" [dependencies] diff --git a/pbs-api-types/src/tape/drive.rs b/pbs-api-types/src/tape/drive.rs index c8cb077c..d841505a 100644 --- a/pbs-api-types/src/tape/drive.rs +++ b/pbs-api-types/src/tape/drive.rs @@ -1,6 +1,4 @@ //! Types for tape drive API -use std::convert::TryFrom; - use anyhow::{bail, Error}; use serde::{Deserialize, Serialize}; diff --git a/pbs-api-types/src/userid.rs b/pbs-api-types/src/userid.rs index 996e96e5..052e66ed 100644 --- a/pbs-api-types/src/userid.rs +++ b/pbs-api-types/src/userid.rs @@ -22,7 +22,6 @@ //! compared with each other, as in those cases the comparison has meaning. use std::borrow::Borrow; -use std::convert::TryFrom; use std::fmt; use anyhow::{bail, format_err, Error};