We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b11790 commit daa5b90Copy full SHA for daa5b90
src/attributes.md
@@ -373,7 +373,7 @@ pub mod m3 {
373
}
374
```
375
376
-#### Must Use Attribute
+#### `must_use` Attribute
377
378
The `must_use` attribute can be used on user-defined composite types
379
([`struct`s][struct], [`enum`s][enum], and [`union`s][union]) and [functions].
@@ -391,7 +391,7 @@ struct MustUse {
391
# impl MustUse {
392
# fn new() -> MustUse { MustUse {} }
393
# }
394
-
+#
395
fn main() {
396
// Violates the `unused_must_use` lint.
397
MustUse::new();
0 commit comments