From 7011bf3a2b444a254622abcca72211feea86a90c Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Mon, 25 Dec 2023 11:47:46 +0100 Subject: [PATCH] Apply suggestions from code review --- crates/egui-winit/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/egui-winit/src/lib.rs b/crates/egui-winit/src/lib.rs index 6b6290161a7f..c416e658c638 100644 --- a/crates/egui-winit/src/lib.rs +++ b/crates/egui-winit/src/lib.rs @@ -177,12 +177,12 @@ impl State { &mut self.clipboard } - /// Returns whether the window should get IME events. + /// Returns [`false`] or the last value that [`Window::set_ime_allowed()`] was called with, used for debouncing. pub fn allow_ime(&self) -> bool { self.allow_ime } - /// Returns whether the window should get IME events. + /// Returns [`false`] or the last value that [`Window::set_ime_allowed()`] was called with, used for debouncing. pub fn allow_ime_mut(&mut self) -> &mut bool { &mut self.allow_ime }