-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustdoc-json-types: Document Id
#125130
rustdoc-json-types: Document Id
#125130
Conversation
rustdoc-json-types is a public (although nightly-only) API. If possible, consider changing |
src/rustdoc-json-types/lib.rs
Outdated
/// Rustdoc makes no guarantees about the inner value of Id's. Applications | ||
/// should treat them as opaque keys to lookup items, and avoid attempting | ||
/// to parse them, or otherwise really on implementation details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Rustdoc makes no guarantees about the inner value of Id's. Applications | |
/// should treat them as opaque keys to lookup items, and avoid attempting | |
/// to parse them, or otherwise really on implementation details. | |
/// Rustdoc makes no guarantees about the inner value of Id's. Applications | |
/// should treat them as opaque keys to lookup items, and avoid attempting | |
/// to parse them, or otherwise depending on any implementation details. |
grammar fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvement! Once @obi1kenobi's comment is applied, r=me
3bf7264
to
504bca9
Compare
@bors r=GuillaumeGomez rollup |
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#124871 (Don't ICE because recomputing overflow goals during find_best_leaf_obligation causes inference side-effects) - rust-lang#125018 (Update linker-plugin-lto.md to include LLVM 18) - rust-lang#125130 (rustdoc-json-types: Document `Id`) - rust-lang#125170 (Uplift `FnSig` into `rustc_type_ir` (redux)) - rust-lang#125172 (Fix assertion when attempting to convert `f16` and `f128` with `as`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#125130 - aDotInTheVoid:id-docs, r=GuillaumeGomez rustdoc-json-types: Document `Id` Inspired by finding [someone looking into the internals of an id](rust-lang#91609 (comment)), I realized we only document the fact that these are opaque on [the rfc](https://rust-lang.github.io/rfcs/2963-rustdoc-json.html#id). r? `@GuillaumeGomez`
Inspired by finding someone looking into the internals of an id, I realized we only document the fact that these are opaque on the rfc.
r? @GuillaumeGomez