diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-10-12 09:46:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-12 09:46:37 +0200 |
commit | 3a2e5abee70fe69126d4bfa6c8bb0de4dba38fa9 (patch) | |
tree | 928a792296413a8483c5d8098894b89630f51b70 /src | |
parent | a98ddadd506bdefb6c7d9b0cb9d3a112269e9494 (diff) | |
parent | 36eff2f374c3e1fcb06984c81f764e5b556320a8 (diff) |
Merge pull request #235 from matthiasbeyer/deprecate-environment-new
Fix clippy errors
Diffstat (limited to 'src')
-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() } |