mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
d6743bb70d
* tests: remove unnecessary mut When building the projec, I was told warning: variable does not need to be mutable, #[warn(unused_mut)] on by default --> tests/macros.rs:39:9 | 39 | let mut app = clap_app!(("app name with spaces-and-hyphens") => | ^^^^^^^ * examples: remove unused variable The inner Some value is not used in the match arm: warning: unused variable: `local_matches`, #[warn(unused_variables)] on by default --> examples/20_subcommands.rs:128:32 | 128 | ("local", Some(local_matches)) =>{ | ^^^^^^^^^^^^^ |
||
---|---|---|
.. | ||
01a_quick_example.rs | ||
01b_quick_example.rs | ||
01c_quick_example.rs | ||
02_apps.rs | ||
03_args.rs | ||
04_using_matches.rs | ||
05_flag_args.rs | ||
06_positional_args.rs | ||
07_option_args.rs | ||
08_subcommands.rs | ||
09_auto_version.rs | ||
10_default_values.rs | ||
11_only_specific_values.rs | ||
12_typed_values.rs | ||
13a_enum_values_automatic.rs | ||
13b_enum_values_manual.rs | ||
14_groups.rs | ||
15_custom_validator.rs | ||
16_app_settings.rs | ||
17_yaml.rs | ||
17_yaml.yml | ||
18_builder_macro.rs | ||
19_auto_authors.rs | ||
20_subcommands.rs | ||
21_aliases.rs |