mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-01-23 07:20:20 +08:00
just don't talk about inner doc comments
This commit is contained in:
parent
f6534b1754
commit
db59879a46
@ -77,10 +77,3 @@ src/main.rs:1:1: 1:27 error: expected item after doc comment
|
||||
src/main.rs:1 /// What am I documenting?
|
||||
^~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
```
|
||||
|
||||
### Inner documentation comments
|
||||
|
||||
There is a secondary form of a documentation comment, an ‘inner’ documentation
|
||||
comment. Inner documentation comments look like this: `//!`. They are only
|
||||
really used to document modules, however, and so we will talk about them in the
|
||||
modules section.
|
||||
|
Loading…
Reference in New Issue
Block a user