Skip to content

Commit 244e9a7

Browse files
committed
Clarify doc comment example
1 parent b1e9656 commit 244e9a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

text/3416-feature-metadata.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,10 @@ but is preferred to use `features` or `features2` to avoid duplication.
302302
crate (linked below).
303303

304304
```toml
305-
[features]
305+
# RFC proposal
306306
foo = { enables = [], doc = "foo feature" }
307+
308+
# Alternative equivalent using doc comments
307309
## foo feature
308310
foo = []
309311
```

0 commit comments

Comments
 (0)