提交 4d43d163 编写于 作者: S Steve Klabnik

Describe doc attribute in the reference

FIxes #7963.
上级 e2cd4597
......@@ -2013,6 +2013,7 @@ On `struct`s:
- `unsafe_no_drop_flag` - on structs, remove the flag that prevents
destructors from being run twice. Destructors might be run multiple times on
the same object with this attribute.
- `doc` - Doc comments such as `/// foo` are equivalent to `#[doc = "foo"]`.
### Conditional compilation
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册