diff options
author | John Brandt <johnb0@outlook.com> | 2021-05-04 10:42:00 -0600 |
---|---|---|
committer | John Brandt <johnb0@outlook.com> | 2021-05-04 10:42:00 -0600 |
commit | c06915e1f8ab76b53e830744b3fc7cb280c2b5e0 (patch) | |
tree | 3db287165f7de25a62699ee5cb9b39696e3d9ed3 /src | |
parent | 801567b57fb43827723b0c46b311b60de0592ad4 (diff) |
Add perfromance note to `try_parsing`
Diffstat (limited to 'src')
-rw-r--r-- | src/env.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -56,6 +56,8 @@ impl Environment { self } + /// Note: enabling `try_parsing` can reduce performance it will try and parse + /// each environment variable 3 times (bool, i64, f64) pub fn try_parsing(mut self, try_parsing: bool) -> Self { self.try_parsing = try_parsing; self |