Skip to content

Commit

Permalink
Unset doc-scrape-examples for lib target
Browse files Browse the repository at this point in the history
False is the default value since Cargo PR 11499.
  • Loading branch information
dtolnay committed Feb 10, 2025
1 parent 3840e47 commit aed1b60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ rust-version = "1.56"

[lib]
proc-macro = true
doc-scrape-examples = false

[dev-dependencies]
rustversion = "1.0"
Expand Down
3 changes: 0 additions & 3 deletions unindent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ keywords = ["heredoc", "nowdoc", "multiline", "string", "literal"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/indoc"

[lib]
doc-scrape-examples = false

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--generate-link-to-definition"]

0 comments on commit aed1b60

Please sign in to comment.