aboutsummaryrefslogtreecommitdiffstats
path: root/zone_core
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-02-18 19:57:10 -0600
committerToby Vincent <tobyv13@gmail.com>2022-02-18 19:57:10 -0600
commit894ba9fd859269f5cce213d3c010ed799b1bd811 (patch)
tree2ec327f514c4d62400dc4513ce06d9a9f998dae0 /zone_core
parentea8fb853ece6933ff09aeccf9cac83cea2a3ba8a (diff)
style: cleaned up the imports and visibility
Diffstat (limited to 'zone_core')
-rw-r--r--zone_core/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/zone_core/src/lib.rs b/zone_core/src/lib.rs
index 6801ee8..5d4d426 100644
--- a/zone_core/src/lib.rs
+++ b/zone_core/src/lib.rs
@@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize};
use std::path::PathBuf;
use strum_macros::{Display, EnumString};
use tabled::Tabled;
-use zone_zfs::file_system::FileSystem;
+use zone_zfs::FileSystem;
pub static DEFAULT_ENDPOINT: &str = "127.0.0.1:8000";
@@ -76,7 +76,7 @@ impl<'r> Responder<'r, 'static> for Container {
}
impl TryFrom<FileSystem> for Container {
- type Error = zone_zfs::error::Error;
+ type Error = zone_zfs::Error;
fn try_from(file_system: FileSystem) -> Result<Self, Self::Error> {
let path_buf = PathBuf::from(&file_system)