mirror of
https://gitee.com/openharmony/third_party_rust_quote
synced 2025-02-17 05:27:32 +00:00
Opt out -Zrustdoc-scrape-examples on docs.rs
I'd like a chance to audit all the code that rustdoc is inserting into the docs. Currently I am skeptical that showing quote's internal usages of APIs is a net benefit to the public documentation. I am also skeptical that quite so many examples are needed, and that they should be featured so prominently in comparison to handwritten docs. Lastly I wish there were a way to turn this behavior off on a more granular basis.
This commit is contained in:
parent
2386c5a11e
commit
b0337d0c55
@ -25,6 +25,9 @@ default = ["proc-macro"]
|
|||||||
# libproc_macro in the rustc compiler.
|
# libproc_macro in the rustc compiler.
|
||||||
proc-macro = ["proc-macro2/proc-macro"]
|
proc-macro = ["proc-macro2/proc-macro"]
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
doc-scrape-examples = false
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = ["benches"]
|
members = ["benches"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user