mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Update MSRV to Rust 1.70.0 (#3310)
* Update to Rust 1.70 * Fix renamed clippy lint * Use let-else more * Code cleanup * Remove derelict Safety comments * Enable more clippy lints
This commit is contained in:
@@ -435,9 +435,7 @@ impl Renderer {
|
||||
}
|
||||
}
|
||||
Primitive::Callback(callback) => {
|
||||
let cbfn = if let Some(c) = callback.callback.downcast_ref::<Callback>() {
|
||||
c
|
||||
} else {
|
||||
let Some(cbfn) = callback.callback.downcast_ref::<Callback>() else {
|
||||
// We already warned in the `prepare` callback
|
||||
continue;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user