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;