allan2 / dotenvy

A well-maintained fork of the dotenv crate
MIT License
664 stars 40 forks source link

Use `?` rather than `.unwrap()` in examples #49

Closed LeoniePhiline closed 1 year ago

LeoniePhiline commented 1 year ago

See https://rust-lang.github.io/api-guidelines/documentation.html#examples-use--not-try-not-unwrap-c-question-mark

allan2 commented 1 year ago

I can see this being helpful in some cases but I would not ascribe to it as an absolute rule.