summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/env.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/env.rs b/src/env.rs
index 4ea7bd0..a349dd6 100644
--- a/src/env.rs
+++ b/src/env.rs
@@ -29,6 +29,7 @@ pub struct Environment {
}
impl Environment {
+ #[deprecated(since = "0.12.0", note = "please use 'Environment::default' instead")]
pub fn new() -> Self {
Environment::default()
}