diff --git a/src/doc/reference.md b/src/doc/reference.md index fab469712307..44705123ed8d 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -2014,6 +2014,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