mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 06:10:07 -04:00
Remove the AsAny helper trait
Trait upcasting (rust-lang/rust#65991) is stable since Rust 1.86, which is already the MSRV, so dyn trait objects coerce to dyn Any directly. Traits that needed AsAny now list Any as their supertrait, and the as_any module is renamed to casting as only the impl_dyn_casting macro remains.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#![warn(clippy::exhaustive_enums)]
|
||||
|
||||
#[macro_use]
|
||||
pub mod as_any;
|
||||
pub mod casting;
|
||||
pub mod cursor;
|
||||
#[macro_use]
|
||||
pub mod error;
|
||||
|
||||
Reference in New Issue
Block a user