From 7bbac6c162ab143ef6458ed3826583c5b014e731 Mon Sep 17 00:00:00 2001 From: Mikkel Rasmussen Date: Sat, 11 Nov 2023 15:35:44 +0100 Subject: [PATCH] fmt --- src/input.rs | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/input.rs b/src/input.rs index 65c950b..bdca0eb 100644 --- a/src/input.rs +++ b/src/input.rs @@ -175,15 +175,17 @@ fn setup(mut commands: Commands, settings: Res) { //Got issues with the taskpool rewrite : https://github.com/bevyengine/bevy/pull/10008 let thread_pool = IoTaskPool::get(); - thread_pool.spawn({ - MidiInputTask { - receiver: m_receiver, - sender: r_sender, - settings: settings.clone(), - input: None, - connection: None, - } - }).detach(); + thread_pool + .spawn({ + MidiInputTask { + receiver: m_receiver, + sender: r_sender, + settings: settings.clone(), + input: None, + connection: None, + } + }) + .detach(); commands.insert_resource(MidiInput { sender: m_sender,