diff options
author | Daniel Eades <danieleades@hotmail.com> | 2021-12-27 11:46:36 +0000 |
---|---|---|
committer | Daniel Eades <danieleades@hotmail.com> | 2021-12-29 12:54:40 +0000 |
commit | 278a899cddbd7150e54bd727fa7897e740376442 (patch) | |
tree | 2ecdfc2063e41341c8ad744ae4317071f42fdf9a /src | |
parent | deb4b9caeeb401eb8183db4fa106112ef1c11f29 (diff) |
de-glob imports
Diffstat (limited to 'src')
-rw-r--r-- | src/config.rs | 2 | ||||
-rw-r--r-- | src/de.rs | 2 | ||||
-rw-r--r-- | src/env.rs | 2 | ||||
-rw-r--r-- | src/file/mod.rs | 2 | ||||
-rw-r--r-- | src/path/mod.rs | 2 | ||||
-rw-r--r-- | src/ser.rs | 2 | ||||
-rw-r--r-- | src/source.rs | 2 | ||||
-rw-r--r-- | src/value.rs | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/src/config.rs b/src/config.rs index 864c0ec..8852506 100644 --- a/src/config.rs +++ b/src/config.rs @@ -4,7 +4,7 @@ use crate::builder::{ConfigBuilder, DefaultState}; use serde::de::Deserialize; use serde::ser::Serialize; -use crate::error::*; +use crate::error::{ConfigError, Result}; use crate::map::Map; use crate::path; use crate::ser::ConfigSerializer; @@ -4,7 +4,7 @@ use std::iter::Enumerate; use serde::de; use crate::config::Config; -use crate::error::*; +use crate::error::{ConfigError, Result}; use crate::map::Map; use crate::value::{Table, Value, ValueKind}; @@ -1,6 +1,6 @@ use std::env; -use crate::error::*; +use crate::error::Result; use crate::map::Map; use crate::source::Source; use crate::value::{Value, ValueKind}; diff --git a/src/file/mod.rs b/src/file/mod.rs index 007c250..d4f3e1a 100644 --- a/src/file/mod.rs +++ b/src/file/mod.rs @@ -4,7 +4,7 @@ pub mod source; use std::fmt::Debug; use std::path::{Path, PathBuf}; -use crate::error::*; +use crate::error::{ConfigError, Result}; use crate::map::Map; use crate::source::Source; use crate::value::Value; diff --git a/src/path/mod.rs b/src/path/mod.rs index d78d07d..baed000 100644 --- a/src/path/mod.rs +++ b/src/path/mod.rs @@ -1,6 +1,6 @@ use std::str::FromStr; -use crate::error::*; +use crate::error::{ConfigError, Result}; use crate::map::Map; use crate::value::{Value, ValueKind}; @@ -2,7 +2,7 @@ use std::fmt::Display; use serde::ser; -use crate::error::*; +use crate::error::{ConfigError, Result}; use crate::value::{Value, ValueKind}; use crate::Config; diff --git a/src/source.rs b/src/source.rs index 69cef56..060657b 100644 --- a/src/source.rs +++ b/src/source.rs @@ -3,7 +3,7 @@ use std::str::FromStr; use async_trait::async_trait; -use crate::error::*; +use crate::error::Result; use crate::map::Map; use crate::path; use crate::value::{Value, ValueKind}; diff --git a/src/value.rs b/src/value.rs index 2a274cb..e403192 100644 --- a/src/value.rs +++ b/src/value.rs @@ -3,7 +3,7 @@ use std::fmt::Display; use serde::de::{Deserialize, Deserializer, Visitor}; -use crate::error::*; +use crate::error::{ConfigError, Result, Unexpected}; use crate::map::Map; /// Underlying kind of the configuration value. |