diff --git a/examples/reject_windows.rs b/examples/reject_windows.rs index 8e9177b..1c71c15 100644 --- a/examples/reject_windows.rs +++ b/examples/reject_windows.rs @@ -9,7 +9,7 @@ fn main() -> eframe::Result<()> { eframe::run_native( "My egui App", options, - Box::new(|_cc| Box::::default()), + Box::new(|_cc| Ok(Box::::default())), ) } diff --git a/examples/simple.rs b/examples/simple.rs index 0d478f3..2a7a6d7 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -9,7 +9,7 @@ fn main() -> eframe::Result<()> { eframe::run_native( "My egui App", options, - Box::new(|_cc| Box::::default()), + Box::new(|_cc| Ok(Box::::default())), ) } diff --git a/examples/tab_add.rs b/examples/tab_add.rs index 76806cd..19739f1 100644 --- a/examples/tab_add.rs +++ b/examples/tab_add.rs @@ -9,7 +9,7 @@ fn main() -> eframe::Result<()> { eframe::run_native( "My egui App", options, - Box::new(|_cc| Box::::default()), + Box::new(|_cc| Ok(Box::::default())), ) } diff --git a/examples/tab_add_popup.rs b/examples/tab_add_popup.rs index 9aa2984..a35a07f 100644 --- a/examples/tab_add_popup.rs +++ b/examples/tab_add_popup.rs @@ -10,7 +10,7 @@ fn main() -> eframe::Result<()> { eframe::run_native( "My egui App", options, - Box::new(|_cc| Box::::default()), + Box::new(|_cc| Ok(Box::::default())), ) } diff --git a/examples/text_editor.rs b/examples/text_editor.rs index 7b2a2f3..f85157a 100644 --- a/examples/text_editor.rs +++ b/examples/text_editor.rs @@ -13,7 +13,7 @@ fn main() -> eframe::Result<()> { eframe::run_native( "Text editor examples", options, - Box::new(|_cc| Box::::default()), + Box::new(|_cc| Ok(Box::::default())), ) }