mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 01:48:13 +08:00
Clean up arg order in process_message() so data is last
This commit is contained in:
@@ -45,9 +45,7 @@ impl LayoutMessageHandler {
|
||||
|
||||
impl<F: Fn(&MessageDiscriminant) -> Vec<KeysGroup>> MessageHandler<LayoutMessage, F> for LayoutMessageHandler {
|
||||
#[remain::check]
|
||||
fn process_message(&mut self, message: LayoutMessage, data: F, responses: &mut std::collections::VecDeque<Message>) {
|
||||
let action_input_mapping = data;
|
||||
|
||||
fn process_message(&mut self, message: LayoutMessage, responses: &mut std::collections::VecDeque<Message>, action_input_mapping: F) {
|
||||
use LayoutMessage::*;
|
||||
#[remain::sorted]
|
||||
match message {
|
||||
|
||||
Reference in New Issue
Block a user