-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
C-bugCategory: bugCategory: bug
Description
Please complete the following tasks
- I have searched the discussions
- I have searched the open and rejected issues
Rust Version
rustc 1.83.0 (90b35a623 2024-11-26)
Clap Version
v4.5.23
Minimal reproducible code
#[clap(default_values_t = Some(Vec::new()))]
foo: Option<Vec<String>>,
Steps to reproduce the bug with the above code
cargo build
Actual Behaviour
error: #[arg(default_values_t)] can be used only on Vec types
= note: see https://github.com/clap-rs/clap/blob/master/examples/derive_ref/README.md#magic-attributes
Link is a 404.
The master branch of clap does not contain the path examples/derive_ref/README.md.
This link is repeated several times in https://github.com/clap-rs/clap/blob/fde45f9aea766fb8de46e3d46e6575f393c3b6b9/clap_derive/src/item.rs.
Expected Behaviour
A working link.
Additional Context
No response
Debug Output
No response
Metadata
Metadata
Assignees
Labels
C-bugCategory: bugCategory: bug