diff options
author | Jeff Zhao <jeff.no.zhao@gmail.com> | 2022-09-17 16:31:42 -0400 |
---|---|---|
committer | Jeff Zhao <jeff.no.zhao@gmail.com> | 2022-09-17 16:31:42 -0400 |
commit | 02c7e941566a2d828e77dd33a6dda74c8a0c42ef (patch) | |
tree | 2355b682f33d588bf895899eaff2e73e1302e4c5 /src/config | |
parent | 64eeb5cf1758d80f1d528f4eab6b7fed32b072ef (diff) |
cargo update
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs index db46f4d..fde1759 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -16,8 +16,7 @@ use std::fs; use std::io; use std::path::{Path, PathBuf}; -use crate::error::JoshutoError; -use crate::error::JoshutoResult; +use crate::error::{JoshutoError, JoshutoErrorKind, JoshutoResult}; use crate::CONFIG_HIERARCHY; pub trait TomlConfigFile { @@ -53,7 +52,7 @@ where None => { let error_kind = io::ErrorKind::NotFound; let error = JoshutoError::new( - crate::error::JoshutoErrorKind::Io(error_kind), + JoshutoErrorKind::Io(error_kind), "No config directory found".to_string(), ); Err(error) |