mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
clippy fixes from 1.69.0
This commit is contained in:
@@ -126,7 +126,7 @@ impl CacheStorage {
|
||||
pub fn cache<FrameCache: CacheTrait + Default>(&mut self) -> &mut FrameCache {
|
||||
self.caches
|
||||
.entry(std::any::TypeId::of::<FrameCache>())
|
||||
.or_insert_with(|| Box::new(FrameCache::default()))
|
||||
.or_insert_with(|| Box::<FrameCache>::default())
|
||||
.as_any_mut()
|
||||
.downcast_mut::<FrameCache>()
|
||||
.unwrap()
|
||||
|
||||
Reference in New Issue
Block a user