1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00

Fix inaccurate method documentation

This commit is contained in:
Andrés Mejía 2022-05-22 07:12:57 -05:00 committed by GitHub
parent 9f8c5c4f56
commit 394b3ffd81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1019,8 +1019,6 @@ impl Mouse {
impl input::Processor<EventProxy, ActionContext<'_, Notifier, EventProxy>> {
/// Handle events from glutin.
///
/// Doesn't take self mutably due to borrow checking.
pub fn handle_event(&mut self, event: GlutinEvent<'_, Event>) {
match event {
GlutinEvent::UserEvent(Event { payload, .. }) => match payload {