Skip to content

Commit 2771eb4

Browse files
Fix cfg typo in rustdoc book
1 parent ddc1a64 commit 2771eb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/doc/rustdoc/src/write-documentation/re-exports.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ pub use self::private_mod::Second as Visible;
172172
```
173173

174174
In this case, `Visible` will have as documentation `First Second Third` and will also have as `cfg`:
175-
`#[cfg(a, b, c)]`.
175+
`#[cfg(a)]`, `#[cfg(b)]` and `#[cfg(c)]`.
176176

177177
[Intra-doc links](./linking-to-items-by-name.md) are resolved relative to where the doc comment is
178178
defined.

0 commit comments

Comments
 (0)