fix wording on method usage comment

kind of an important difference in intended usage!
This commit is contained in:
Gered 2023-02-19 16:20:19 -05:00
parent 4e43e9fbdd
commit f6ca6f150a

View file

@ -14,7 +14,7 @@ pub enum ButtonState {
/// Common trait for input device implementations. /// Common trait for input device implementations.
pub trait InputDevice { pub trait InputDevice {
/// Performs internal house-keeping necessary for properly reporting the current state of this /// Performs internal house-keeping necessary for properly reporting the current state of this
/// input device. Normally this should be called on the device after all of this frame's /// input device. Normally this should be called on the device before all of this frame's
/// input events have been processed via `handle_event`. /// input events have been processed via `handle_event`.
fn update(&mut self); fn update(&mut self);