From 8f45d2f95ae19bbe81cc82be505cec9da99e49f2 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 28 Mar 2023 08:34:29 -0500 Subject: [PATCH] docs(derive): Reword opt-out --- src/_derive/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_derive/mod.rs b/src/_derive/mod.rs index c7eb6bc62f2..2e4a4902d5c 100644 --- a/src/_derive/mod.rs +++ b/src/_derive/mod.rs @@ -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`) 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>` 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..)`