Commit a015b2d
authored
safety lint in bevy_reflect on wasm (#22174)
# Objective
- `cargo clippy --target wasm32-unknown-unknown -p bevy_reflect
--no-deps -- -D warnings` fail with
```
error: unsafe block missing a safety comment
--> crates/bevy_reflect/src/lib.rs:804:21
|
804 | unsafe {
| ^^^^^^^^
|
```
## Solution
- Change the order between the lint and the safety comment1 parent 1e87589 commit a015b2d
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
796 | | - | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | 796 | | |
801 | 797 | | |
802 | 798 | | |
803 | 799 | | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
| |||
0 commit comments