Skip to content

Commit c1c243c

Browse files
authored
Revert "Cleanup docs.rs related issues"
1 parent c3f05a8 commit c1c243c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ include.workspace = true
127127

128128
[package.metadata.docs.rs]
129129
features = ["unstable-doc"]
130-
rustdoc-args = ["--generate-link-to-definition"]
130+
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
131131

132132
[package.metadata.playground]
133133
features = ["unstable-doc"]

clap_builder/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ include.workspace = true
1818

1919
[package.metadata.docs.rs]
2020
features = ["unstable-doc"]
21-
rustdoc-args = ["--generate-link-to-definition"]
21+
rustdoc-args = ["--cfg", "docsrs"]
2222
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
2323

2424
[package.metadata.playground]

clap_complete/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ include.workspace = true
1717

1818
[package.metadata.docs.rs]
1919
features = ["unstable-doc"]
20-
rustdoc-args = ["--generate-link-to-definition"]
20+
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
2121
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
2222

2323
[package.metadata.release]

src/_tutorial.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@
161161
//! ### Enumerated values
162162
//!
163163
//! 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.
166166
//!
167167
//! This allows you to specify the valid values for that argument. If the user does not use one of
168168
//! those specific values, they will receive a graceful exit with error message informing them

0 commit comments

Comments
 (0)