From 80e8d4885a7124a29d7972dbbbb5e07f830cfe9f Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Sun, 27 Mar 2022 10:08:10 +0200 Subject: [PATCH] Updated docs for updates --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8fcb8e5..09af064 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -345,6 +345,9 @@ impl Window { /// /// Updates the window (this is required to call in order to get keyboard/mouse input, etc) /// + /// Notice that when using this function then `update_with_buffer` should not be called for the same window. + /// Only one of the functions should be used. + /// /// # Examples /// /// ```no_run @@ -366,9 +369,6 @@ impl Window { /// pressing the close button on the window) It's up to the user to make sure that this is /// being checked and take action depending on the state. /// - /// Notice that when using this function then `update_with_buffer` should not be called for the same window. - /// Only one of the functions should be used. - /// /// /// # Examples ///