From 2a544dca2f573d846e525ff65e153c261b16880d Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 7 Feb 2024 09:49:19 +0100 Subject: Fix documentation of `Action::RunWithHandle` --- runtime/src/window/action.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/window/action.rs b/runtime/src/window/action.rs index 532c1243..86d58528 100644 --- a/runtime/src/window/action.rs +++ b/runtime/src/window/action.rs @@ -98,7 +98,7 @@ pub enum Action { /// - **X11:** Has no universal guidelines for icon sizes, so you're at the whims of the WM. That /// said, it's usually in the same ballpark as on Windows. ChangeIcon(Id, Icon), - /// Requests access to the windows native handle. + /// Runs the closure with the native window handle of the window with the given [`Id`]. RunWithHandle(Id, Box) -> T + 'static>), /// Screenshot the viewport of the window. Screenshot(Id, Box T + 'static>), -- cgit