From f6ca6f150a7821cc8d408c97f155205123bbb9e2 Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 19 Feb 2023 16:20:19 -0500 Subject: [PATCH] fix wording on method usage comment kind of an important difference in intended usage! --- libretrogd/src/system/input_devices/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretrogd/src/system/input_devices/mod.rs b/libretrogd/src/system/input_devices/mod.rs index d3edad4..07c9e28 100644 --- a/libretrogd/src/system/input_devices/mod.rs +++ b/libretrogd/src/system/input_devices/mod.rs @@ -14,7 +14,7 @@ pub enum ButtonState { /// Common trait for input device implementations. pub trait InputDevice { /// 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`. fn update(&mut self);