We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb8460 commit 6a254a6Copy full SHA for 6a254a6
src/main.rs
@@ -762,9 +762,9 @@ impl Halloy {
762
}
763
764
commands.extend(
765
- script_actions
766
- .into_iter()
767
- .map(|action| Task::done(Message::Script(action))),
+ script_actions.into_iter().map(|action| {
+ Task::done(Message::Script(action))
+ }),
768
);
769
770
return Task::batch(commands);
@@ -858,13 +858,13 @@ impl Halloy {
858
859
860
861
862
863
- .map(|action| {
864
- Task::done(
865
- Message::Script(action),
866
- )
867
- }),
+ script_actions.into_iter().map(
+ |action| {
+ Task::done(Message::Script(
+ action,
+ ))
+ },
+ ),
868
869
870
return command
0 commit comments