Skip to content

Commit eb6de53

Browse files
authored
Remove the --cfg docsrs argument given to rustdoc on docs.rs
docs.rs adds that on their own now, so we don't need it.
1 parent 4bf4b0d commit eb6de53

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,9 @@ const_assert = []
2626
# Derives the `Serialize` and `Deserialize` traits from [`serde`](https://crates.io/crates/serde) for the `Primes` struct, as well as a few others.
2727
serde = ["dep:serde", "dep:serde_arrays"]
2828

29-
# docs.rs-specific configuration. Taken from <https://stackoverflow.com/a/61417700/>.
3029
[package.metadata.docs.rs]
3130
# Document all features.
3231
all-features = true
33-
# Enable the docsrs configuration attribute on docs.rs
34-
rustdoc-args = ["--cfg", "docsrs"]
3532

3633
[[bench]]
3734
name = "prime_benches"

0 commit comments

Comments
 (0)