Skip to content

Take advantage of trait upcasting to remove as_any and as_any_mut methods #5129

@nicoburns

Description

@nicoburns

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    corerelating to the core implementation of the virtualdom

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions