mimblewimble / grin

Minimal implementation of the Mimblewimble protocol.
https://grin.mw/
Apache License 2.0
5.04k stars 991 forks source link

std::env::home_dir deprecation warning (grin_config) #1662

Closed antiochp closed 6 years ago

antiochp commented 6 years ago
warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead.
  --> config/src/config.rs:46:9
   |
46 |         match env::home_dir() {
   |               ^^^^^^^^^^^^^
   |
   = note: #[warn(deprecated)] on by default
hashmap commented 6 years ago

Where do you see it? It was fixed a while ago in https://github.com/mimblewimble/grin/pull/1361/files it was changed after that but I still see dirs https://github.com/mimblewimble/grin/blob/master/config/src/config.rs#L51

antiochp commented 6 years ago

Hmm - building on an old branch I think... false alarm.