File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ pub type EventLoopBuilderHook = Box<dyn FnOnce(&mut EventLoopBuilder<UserEvent>)
41
41
#[ cfg( any( feature = "glow" , feature = "wgpu" ) ) ]
42
42
pub type WindowBuilderHook = Box < dyn FnOnce ( egui:: ViewportBuilder ) -> egui:: ViewportBuilder > ;
43
43
44
- type DynError = Box < dyn std:: error:: Error > ;
44
+ type DynError = Box < dyn std:: error:: Error + Send + Sync > ;
45
45
46
46
/// This is how your app is created.
47
47
///
Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ pub fn run_simple_native(
334
334
#[ derive( Debug ) ]
335
335
pub enum Error {
336
336
/// Something went wrong in user code when creating the app.
337
- AppCreation ( Box < dyn std:: error:: Error > ) ,
337
+ AppCreation ( Box < dyn std:: error:: Error + Send + Sync > ) ,
338
338
339
339
/// An error from [`winit`].
340
340
#[ cfg( not( target_arch = "wasm32" ) ) ]
You can’t perform that action at this time.
0 commit comments