clap/examples
Oleksii Filonenko 1e39967044
Fix some clippy lints
- Manually fix some problems
- Run 'cargo fix --clippy'

Commits taken from similar PRs open at that time:

- Replace indexmap remove with swap_remove
  Resolves #1562 and closes #1563
- Use cognitive_complexity for clippy lint
  Resolves #1564 and closes #1565
- Replace deprecated trim_left_matches with trim_start_matches
  Closes #1539

Co-authored-by: Antoine Martin <antoine97.martin@gmail.com>
Co-authored-by: Brian Foley <bpfoley@users.noreply.github.com>
2019-10-29 21:46:25 -04:00
..
01a_quick_example.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
01b_quick_example.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
01c_quick_example.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
02_apps.rs refactor: remove code going to other crates and deprecations 2018-10-19 23:31:06 -04:00
03_args.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
04_using_matches.rs examples: Change flag arg to option arg 2019-10-29 21:45:58 -04:00
05_flag_args.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
06_positional_args.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
07_option_args.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
08_subcommands.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
09_auto_version.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
10_default_values.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
11_only_specific_values.rs style: rustfmt run 2018-01-25 12:21:17 -05:00
12_typed_values.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
13a_enum_values_automatic.rs style: rustfmt run 2019-04-05 20:21:33 -04:00
13b_enum_values_manual.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
14_groups.rs Fix some clippy lints 2019-10-29 21:46:25 -04:00
15_custom_validator.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
16_app_settings.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
17_yaml.rs Fix compiling with "--features yaml" 2019-06-19 16:32:52 -07:00
17_yaml.yml Update 17_yaml.yml 2019-07-25 12:14:05 +02:00
18_builder_macro.rs Fix some clippy lints 2019-10-29 21:46:25 -04:00
19_auto_authors.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
20_subcommands.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
21_aliases.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
22_stop_parsing_with_--.rs refactor(Arg): changes Arg::short to accept a char instead of &str 2018-07-23 15:10:12 -04:00