mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 15:27:16 +00:00
docs(derive): Reword opt-out
This commit is contained in:
parent
06d190751a
commit
8f45d2f95a
1 changed files with 2 additions and 2 deletions
|
@ -291,8 +291,8 @@
|
|||
//!
|
||||
//! Notes:
|
||||
//! - For custom type behavior, you can override the implied attributes/settings and/or set additional ones
|
||||
//! - To completel opt-out of implied behavior, you can refer to the type by another means, like
|
||||
//! using `std::vec::Vec` instead of `Vec`. For improving this, see
|
||||
//! - To force any inferred type (like `Vec<T>`) to be treated as `T`, you can refer to the type
|
||||
//! by another means, like using `std::vec::Vec` instead of `Vec`. For improving this, see
|
||||
//! [#4626](https://github.com/clap-rs/clap/issues/4626).
|
||||
//! - `Option<Vec<T>>` will be `None` instead of `vec![]` if no arguments are provided.
|
||||
//! - This gives the user some flexibility in designing their argument, like with `num_args(0..)`
|
||||
|
|
Loading…
Add table
Reference in a new issue