Skip to content

Commit 6a254a6

Browse files
committed
fmt
1 parent efb8460 commit 6a254a6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/main.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -762,9 +762,9 @@ impl Halloy {
762762
}
763763

764764
commands.extend(
765-
script_actions
766-
.into_iter()
767-
.map(|action| Task::done(Message::Script(action))),
765+
script_actions.into_iter().map(|action| {
766+
Task::done(Message::Script(action))
767+
}),
768768
);
769769

770770
return Task::batch(commands);
@@ -858,13 +858,13 @@ impl Halloy {
858858
}
859859

860860
commands.extend(
861-
script_actions
862-
.into_iter()
863-
.map(|action| {
864-
Task::done(
865-
Message::Script(action),
866-
)
867-
}),
861+
script_actions.into_iter().map(
862+
|action| {
863+
Task::done(Message::Script(
864+
action,
865+
))
866+
},
867+
),
868868
);
869869

870870
return command

0 commit comments

Comments
 (0)