From 98681405237a9f7d5f14621840002b1a8cae826f Mon Sep 17 00:00:00 2001 From: K V Varun Krishnan Date: Mon, 8 Jan 2024 01:00:05 +0530 Subject: [PATCH] Made changes to main --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0fc6c9a..a6ab48d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,7 +7,7 @@ use std::collections::HashMap; //bussiness logic in this case compiling the code -fn main() -> Result<(), slint::PlatformError> { +async fn main() -> Result<(), slint::PlatformError> { let ui = AppWindow::new()?; let ui_handle = ui.as_weak(); ui.compile_code_rs(move |string,string,string| {