mirror of https://github.com/rust-lang/rfcs
fix error regarding block comments
This commit is contained in:
parent
91e96c0a56
commit
88a4ee01d3
|
@ -121,10 +121,10 @@ smaller:
|
||||||
|
|
||||||
#### Doc comments
|
#### Doc comments
|
||||||
|
|
||||||
Prefer line comments (`///`) to block comments (`//* ... */`).
|
Prefer line comments (`///`) to block comments (`/** ... */`).
|
||||||
|
|
||||||
Prefer outer doc comments (`///` or `//*`), only use inner doc comments (`//!`
|
Prefer outer doc comments (`///` or `/** ... */`), only use inner doc comments
|
||||||
and `//*!`) to write module-level or crate-level documentation.
|
(`//!` and `/*! ... */`) to write module-level or crate-level documentation.
|
||||||
|
|
||||||
Doc comments should come before attributes.
|
Doc comments should come before attributes.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue