-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Prefer doc comments over //
-comments in compiler
#104976
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
Conversation
r? @cjgillot (rustbot has picked a reviewer for you, use r? to override) |
Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 Some changes occurred in compiler/rustc_codegen_gcc cc @antoyo Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri These commits modify compiler targets. |
@bors r+ |
…iaskrgr Rollup of 4 pull requests Successful merges: - rust-lang#104955 (Switch rustdoc-gui test to function call) - rust-lang#104976 (Prefer doc comments over `//`-comments in compiler) - rust-lang#104984 (Remove Crate::primitives field) - rust-lang#104989 (update Miri) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…iaskrgr Rollup of 4 pull requests Successful merges: - rust-lang#104955 (Switch rustdoc-gui test to function call) - rust-lang#104976 (Prefer doc comments over `//`-comments in compiler) - rust-lang#104984 (Remove Crate::primitives field) - rust-lang#104989 (update Miri) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…llot Prefer doc comments over `//`-comments in compiler Doc comments are generally nicer: they show up in the documentation, they are shown in IDEs when you hover other mentions of items, etc. Thus it makes sense to use them instead of `//`-comments.
Doc comments are generally nicer: they show up in the documentation, they are shown in IDEs when you hover other mentions of items, etc. Thus it makes sense to use them instead of
//
-comments.