From 4e6dc587274ba391ae4dab136696dabf2c9594a6 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 2 Oct 2020 13:04:08 +0200 Subject: [PATCH] rest server: cleanup use statements Signed-off-by: Thomas Lamprecht --- src/server/rest.rs | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/server/rest.rs b/src/server/rest.rs index 5577116b..feb0b462 100644 --- a/src/server/rest.rs +++ b/src/server/rest.rs @@ -18,9 +18,20 @@ use tokio::time::Instant; use url::form_urlencoded; use proxmox::http_err; -use proxmox::api::{ApiHandler, ApiMethod, HttpError}; -use proxmox::api::{RpcEnvironment, RpcEnvironmentType, check_api_permission}; -use proxmox::api::schema::{ObjectSchema, parse_simple_value, verify_json_object, parse_parameter_strings}; +use proxmox::api::{ + ApiHandler, + ApiMethod, + HttpError, + RpcEnvironment, + RpcEnvironmentType, + check_api_permission, +}; +use proxmox::api::schema::{ + ObjectSchema, + parse_parameter_strings, + parse_simple_value, + verify_json_object, +}; use super::environment::RestEnvironment; use super::formatter::*;