mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
9b64ac2b45
Improved the `impl`s of `From` for `&'help Yaml` to use expects with useful messages instead of unwraps. Also made changes to avoid potentially fetching redundant data from YAML hashes and unwrapping the same data multiple times. Finally, there are tests to ensure the panics are correct.
3 lines
27 B
YAML
3 lines
27 B
YAML
claptests:
|
|
- 5
|
|
- 6
|