diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-10-02 20:02:29 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-10-02 20:40:25 +0200 |
commit | 36eff2f374c3e1fcb06984c81f764e5b556320a8 (patch) | |
tree | b0e57baf50d7ca4f2ac9f9644b7f0220e2b34a33 | |
parent | 052c9503c65ee66074d00e8885aa13e6831bf079 (diff) |
Add deprecation notice to Environment::new
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | src/env.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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() } |