Skip to content

Commit 8f45d2f

Browse files
committed
docs(derive): Reword opt-out
1 parent 06d1907 commit 8f45d2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_derive/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@
291291
//!
292292
//! Notes:
293293
//! - For custom type behavior, you can override the implied attributes/settings and/or set additional ones
294-
//! - To completel opt-out of implied behavior, you can refer to the type by another means, like
295-
//! using `std::vec::Vec` instead of `Vec`. For improving this, see
294+
//! - To force any inferred type (like `Vec<T>`) to be treated as `T`, you can refer to the type
295+
//! by another means, like using `std::vec::Vec` instead of `Vec`. For improving this, see
296296
//! [#4626](https://github.com/clap-rs/clap/issues/4626).
297297
//! - `Option<Vec<T>>` will be `None` instead of `vec![]` if no arguments are provided.
298298
//! - This gives the user some flexibility in designing their argument, like with `num_args(0..)`

0 commit comments

Comments
 (0)