File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ include.workspace = true
127
127
128
128
[package .metadata .docs .rs ]
129
129
features = [" unstable-doc" ]
130
- rustdoc-args = [" --generate-link-to-definition" ]
130
+ rustdoc-args = [" --cfg " , " docsrs " , " -- generate-link-to-definition" ]
131
131
132
132
[package .metadata .playground ]
133
133
features = [" unstable-doc" ]
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ include.workspace = true
18
18
19
19
[package .metadata .docs .rs ]
20
20
features = [" unstable-doc" ]
21
- rustdoc-args = [" --generate-link-to-definition " ]
21
+ rustdoc-args = [" --cfg " , " docsrs " ]
22
22
cargo-args = [" -Zunstable-options" , " -Zrustdoc-scrape-examples" ]
23
23
24
24
[package .metadata .playground ]
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ include.workspace = true
17
17
18
18
[package .metadata .docs .rs ]
19
19
features = [" unstable-doc" ]
20
- rustdoc-args = [" --generate-link-to-definition" ]
20
+ rustdoc-args = [" --cfg " , " docsrs " , " -- generate-link-to-definition" ]
21
21
cargo-args = [" -Zunstable-options" , " -Zrustdoc-scrape-examples" ]
22
22
23
23
[package .metadata .release ]
Original file line number Diff line number Diff line change 161
161
//! ### Enumerated values
162
162
//!
163
163
//! If you have arguments of specific values you want to test for, you can use the
164
- //! [`PossibleValuesParser`] or [`Arg::value_parser(["val1", ...])`][crate::Arg::value_parser]
165
- //! for short.
164
+ //! [`PossibleValuesParser`][crate::builder::PossibleValuesParser] or [`Arg::value_parser(["val1",
165
+ //! ...])`][crate::Arg::value_parser] for short.
166
166
//!
167
167
//! This allows you to specify the valid values for that argument. If the user does not use one of
168
168
//! those specific values, they will receive a graceful exit with error message informing them
You can’t perform that action at this time.
0 commit comments