Commit d98861c
authored
# Objective
See for more details
- #24033
tldr: prevent accidental `;` in `-> impl SceneList`/`-> impl SceneList`
functions from just being accepted
## Solution
add `#[must_use]` to `SceneScope` and `SceneListScope` as recommended by
@chescock
## Testing
- [x] cargo test
- [x] adding semicolon to a feathers `-> impl Scene` function to see the
must use error
idk, its an attribute, theres not much to test
1 parent 8473b26 commit d98861c
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| 463 | + | |
463 | 464 | | |
464 | 465 | | |
465 | 466 | | |
| |||
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
| 482 | + | |
481 | 483 | | |
482 | 484 | | |
483 | 485 | | |
| |||
0 commit comments