1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

Enforce eframe errors are Send and Sync (#4574)

* Follow-up to https://github.com/emilk/egui/pull/4565
This commit is contained in:
Emil Ernerfeldt
2024-05-29 13:13:00 +02:00
committed by GitHub
parent 514ee0c433
commit 913cef3361
2 changed files with 2 additions and 2 deletions

View File

@@ -334,7 +334,7 @@ pub fn run_simple_native(
#[derive(Debug)]
pub enum Error {
/// Something went wrong in user code when creating the app.
AppCreation(Box<dyn std::error::Error>),
AppCreation(Box<dyn std::error::Error + Send + Sync>),
/// An error from [`winit`].
#[cfg(not(target_arch = "wasm32"))]