Skip to content

Commit 88a4ee0

Browse files
committed
fix error regarding block comments
1 parent 91e96c0 commit 88a4ee0

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)