-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make 'docs' nullable in rustdoc-json output #81225
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
Thanks! r=me once CI pass. |
Should the RFC be edited, or how should this be documented? |
According to the tracking issue, another RFC may be written when things go stable. I was thinking until then it's not worth going through the RFC process for every unstable change |
For documentation, I'm not sure. It seems there should be a better place than an RFC, but I'm not sure what that place is |
According to the original RFC: |
Using the rustdoc output seems good, 3 things to thing of.
I'll do 2 and 3 tomorrow |
I do not think an external crate should be the canonical reference for the format. I see two ways forward here:
Also, @CraftSpider can you bump |
@bors r+ |
📌 Commit 26565f0 has been approved by |
Rollup of 10 pull requests Successful merges: - rust-lang#80573 (Deny rustc::internal lints for rustdoc and clippy) - rust-lang#81173 (Expand docs on Iterator::intersperse) - rust-lang#81194 (Stabilize std::panic::panic_any.) - rust-lang#81202 (Don't prefix 0x for each segments in `dbg!(Ipv6)`) - rust-lang#81225 (Make 'docs' nullable in rustdoc-json output) - rust-lang#81227 (Remove doctree::StructType) - rust-lang#81233 (Document why not use concat! in dbg! macro) - rust-lang#81236 (Gracefully handle loop labels missing leading `'` in different positions) - rust-lang#81241 (Turn alloc's force_expr macro into a regular macro_rules.) - rust-lang#81242 (Enforce statically that `MIN_NON_ZERO_CAP` is calculated at compile time) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
@rustbot modify labels +A-rustdoc-json |
Matches the backing better, and makes it so there's a difference between 'empty docs' and 'no docs'.