From 6358b68236a69d636fe3c9db683fc562b682b46c Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 23 Apr 2019 12:17:24 +0200 Subject: [PATCH] cleanup: avoid compiler warnings --- src/api2.rs | 1 - src/api2/admin.rs | 2 -- src/api2/config.rs | 1 - src/api2/node.rs | 1 - 4 files changed, 5 deletions(-) diff --git a/src/api2.rs b/src/api2.rs index 71cd3067..0bfc8446 100644 --- a/src/api2.rs +++ b/src/api2.rs @@ -2,7 +2,6 @@ use crate::api_schema::*; use crate::api_schema::router::*; -use serde_json::{json}; use std::sync::Arc; pub mod config; diff --git a/src/api2/admin.rs b/src/api2/admin.rs index 8463124c..6807dfce 100644 --- a/src/api2/admin.rs +++ b/src/api2/admin.rs @@ -1,6 +1,4 @@ -use crate::api_schema::*; use crate::api_schema::router::*; -use serde_json::{json}; pub mod datastore; diff --git a/src/api2/config.rs b/src/api2/config.rs index 8b3f5121..464e6496 100644 --- a/src/api2/config.rs +++ b/src/api2/config.rs @@ -3,7 +3,6 @@ //use crate::api_schema; use crate::api_schema::router::*; -use serde_json::{json}; pub mod datastore; diff --git a/src/api2/node.rs b/src/api2/node.rs index 5b2d8b24..f40d8827 100644 --- a/src/api2/node.rs +++ b/src/api2/node.rs @@ -3,7 +3,6 @@ use failure::*; use crate::tools; use crate::api_schema::*; use crate::api_schema::router::*; -use serde_json::{json}; use lazy_static::lazy_static; use std::sync::Arc;