From 0a999f4eb78628a098a986645e757c51b34bd387 Mon Sep 17 00:00:00 2001 From: Julian Hofer Date: Fri, 20 Oct 2023 17:08:06 +0200 Subject: [PATCH] book: Fix typo --- book/listings/main_event_loop/7/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/listings/main_event_loop/7/main.rs b/book/listings/main_event_loop/7/main.rs index c0d02d87eba9..27d843914f81 100644 --- a/book/listings/main_event_loop/7/main.rs +++ b/book/listings/main_event_loop/7/main.rs @@ -33,12 +33,12 @@ fn build_ui(app: &Application) { let main_context = MainContext::default(); // The main loop executes the asynchronous block main_context.spawn_local(clone!(@weak button => async move { - // Get native of button for window indentifier + // Get native of button for window identifier let native = button.native().expect("Need to be able to get native."); // Get window identifier so that the dialog will be modal to the main window let identifier = WindowIdentifier::from_native(&native).await; let request = UserInformation::request() - .reason("App would like to access user information") + .reason("App would like to access user information.") .identifier(identifier) .send() .await;