From f044f66a9dac936b7d04a8d2a87bcccca055f3b3 Mon Sep 17 00:00:00 2001 From: Roman Chumak Date: Wed, 3 Jul 2024 18:11:20 +0300 Subject: [PATCH] 0.2.8, egui update --- Cargo.toml | 2 +- examples/demo.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2b1755a..45a2224 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "egui_code_editor" authors = ["Roman Chumak "] -version = "0.2.7" +version = "0.2.8" edition = "2021" license = "MIT" repository = "https://github.com/p4ymak/egui_code_editor" diff --git a/examples/demo.rs b/examples/demo.rs index 547aed4..97a2180 100644 --- a/examples/demo.rs +++ b/examples/demo.rs @@ -129,7 +129,7 @@ fn main() -> Result<(), eframe::Error> { eframe::run_native( "Egui Code Editor Demo", options, - Box::new(|cc| Box::new(CodeEditorDemo::new(cc))), + Box::new(|cc| Ok(Box::new(CodeEditorDemo::new(cc)))), ) }