We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13c1956 + 0e698ed commit 3a0efffCopy full SHA for 3a0efff
src/doc/style/style/comments.md
@@ -1,4 +1,4 @@
1
-% Comments [FIXME: needs RFC]
+% Comments [RFC #505]
2
3
### Avoid block comments.
4
@@ -74,7 +74,25 @@ For example:
74
75
### Code snippets
76
77
-> **[FIXME]**
+Only use inner doc comments `//!` to write crate and module-level documentation,
78
+nothing else. When using `mod` blocks, prefer `///` outside of the block:
79
+
80
+```rust
81
+/// This module contains tests
82
+mod test {
83
+ // ...
84
+}
85
+```
86
87
+over
88
89
90
91
+ //! This module contains tests
92
93
94
95
96
97
### Avoid inner doc comments.
98
src/doc/style/style/features.md
-## `return` [FIXME: needs RFC]
+## `return` [RFC #968]
Terminate `return` statements with semicolons:
0 commit comments