Skip to content

Commit

Permalink
πŸ“ƒ docs(std): Resolve default
Browse files Browse the repository at this point in the history
`false` is now appropriately labelled as the default value of `must_use`.

Resolves: #583 (comment)
  • Loading branch information
Midnightific committed Jan 25, 2024
1 parent d2ad074 commit b7c2350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/usage/std.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ This field is used for allowing smarter introspection of how the argument given
#### "must_use"
This field is used for checking if the return value of a function is used.

- `true` - The default. The return value of this function must be used.
- `false` - The return value of this function does not need to be used.
- `true` - The return value of this function must be used.
- `false` - The default. The return value of this function does not need to be used.

Example:
```yml
Expand Down

0 comments on commit b7c2350

Please sign in to comment.