mirror of
https://github.com/clap-rs/clap
synced 2024-11-14 16:47:21 +00:00
docs(tutorial): Clarify to debug_assert in tests
This commit is contained in:
parent
3eee9add96
commit
9946579fc9
2 changed files with 2 additions and 2 deletions
|
@ -642,7 +642,7 @@ Doing work using input input.txt and config config.toml
|
|||
|
||||
## Tips
|
||||
|
||||
- Proactively check for bad `Command` configurations by calling `Command::debug_assert` ([example](05_01_assert.rs))
|
||||
- Proactively check for bad `Command` configurations by calling `Command::debug_assert` in a test ([example](05_01_assert.rs))
|
||||
|
||||
## Contributing
|
||||
|
||||
|
|
|
@ -614,7 +614,7 @@ Doing work using input input.txt and config config.toml
|
|||
|
||||
## Tips
|
||||
|
||||
- Proactively check for bad `Command` configurations by calling `Command::debug_assert` ([example](05_01_assert.rs))
|
||||
- Proactively check for bad `Command` configurations by calling `Command::debug_assert` in a test ([example](05_01_assert.rs))
|
||||
- See the [derive reference](../derive_ref/README.md) to understand how to use
|
||||
anything in the [builder API](https://docs.rs/clap/) in the derive API.
|
||||
|
||||
|
|
Loading…
Reference in a new issue