Updated docs for updates

This commit is contained in:
Daniel Collin 2022-03-27 10:08:10 +02:00
parent e1e8a1bd36
commit 80e8d4885a

View file

@ -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
///