Skip to content

Commit 0ee01af

Browse files
committed
Address alercah's feedback
1 parent a64b477 commit 0ee01af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/attributes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ pub mod m3 {
373373
}
374374
```
375375

376-
#### Must Use Attribute
376+
#### `must_use` Attribute
377377

378378
The `must_use` attribute can be used on user-defined composite types
379379
([`struct`s][struct], [`enum`s][enum], and [`union`s][union]) and [functions].
@@ -391,7 +391,7 @@ struct MustUse {
391391
# impl MustUse {
392392
# fn new() -> MustUse { MustUse {} }
393393
# }
394-
394+
#
395395
fn main() {
396396
// Violates the `unused_must_use` lint.
397397
MustUse::new();

0 commit comments

Comments
 (0)