DioxusLabs / DioxusLabs/dioxus
Take advantage of trait upcasting to remove `as_any` and `as_any_mut` methods
Open
core
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
Recent versions of rustc allow a trait object created from a trait that has `Any` as a supertrait to be upcasted into a `dyn Any`. We can use this instead of custom `as_any` and `as_any_mut` methods.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.