From 8dd78a82cb084804bca4bf591ddde4b0bb95b278 Mon Sep 17 00:00:00 2001 From: Vimalan Reddy Date: Thu, 10 Oct 2024 20:29:09 +0200 Subject: [PATCH] Update main.rs --- book/listings/hello_world/2/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/listings/hello_world/2/main.rs b/book/listings/hello_world/2/main.rs index 5b8675e491c8..975970476086 100644 --- a/book/listings/hello_world/2/main.rs +++ b/book/listings/hello_world/2/main.rs @@ -11,7 +11,7 @@ fn main() -> glib::ExitCode { app.connect_activate(build_ui); // Run the application - app.run() + app.run(); // Suggesting this line, because there is a compilation error without it return glib::ExitCode::SUCCESS;