-
Notifications
You must be signed in to change notification settings - Fork 284
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
ResourceSetupStatus has an as_any() method, mainly as a workaround for Rust not supporting dyn upcasting.
Lines 226 to 229 in b2d6de5
| // Workaround as Rust doesn't support dyn upcasting before 1.86. | |
| // (https://github.com/rust-lang/rust/issues/65991) | |
| // Can be replaced by a `Any` bound when we require Rust 1.86 or newer. | |
| fn as_any(&self) -> &dyn Any; |
The support in Rust has been stabilized in Rust v1.86, so we can remove it and use dyn upcasting to convert it to Any when needed.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers