summaryrefslogtreecommitdiffstats
path: root/src/env.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.rs')
-rw-r--r--src/env.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/env.rs b/src/env.rs
index 17c706f..ef91ef8 100644
--- a/src/env.rs
+++ b/src/env.rs
@@ -67,13 +67,13 @@ pub struct Environment {
impl Environment {
#[deprecated(since = "0.12.0", note = "please use 'Environment::default' instead")]
pub fn new() -> Self {
- Environment::default()
+ Self::default()
}
pub fn with_prefix(s: &str) -> Self {
- Environment {
+ Self {
prefix: Some(s.into()),
- ..Environment::default()
+ ..Self::default()
}
}