DioxusLabs / DioxusLabs/dioxus
Unused Props Don't Warn
Open
bug
rsx
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
## Issue
If a prop variable (function argument or struct field) is unused, the unused clippy lint does not go off. This is likely due to the generated builders from the component macro.
Not sure if this is feasible to fix, but it'd be super helpful.
edit: I notice that the generated builders have a lot of `allow(dead_code)`. Perhaps removing some may fix this.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.