Skip to content

Commit

Permalink
docs(derive): Reword opt-out
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Mar 28, 2023
1 parent 06d1907 commit 8f45d2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_derive/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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..)`
Expand Down

0 comments on commit 8f45d2f

Please sign in to comment.