Skip to content

Commit 204d29d

Browse files
authored
Merge pull request #2878 from ahl/block_comments
fix error regarding block comments
2 parents 91e96c0 + 88a4ee0 commit 204d29d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

style-guide/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ smaller:
121121

122122
#### Doc comments
123123

124-
Prefer line comments (`///`) to block comments (`//* ... */`).
124+
Prefer line comments (`///`) to block comments (`/** ... */`).
125125

126-
Prefer outer doc comments (`///` or `//*`), only use inner doc comments (`//!`
127-
and `//*!`) to write module-level or crate-level documentation.
126+
Prefer outer doc comments (`///` or `/** ... */`), only use inner doc comments
127+
(`//!` and `/*! ... */`) to write module-level or crate-level documentation.
128128

129129
Doc comments should come before attributes.
130130

0 commit comments

Comments
 (0)