diff options
| author | Eskil Queseth <eskilq@kth.se> | 2020-10-17 20:44:54 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2020-10-17 20:44:54 +0200 |
| commit | 821107122299eebde5da1223ea328f63782ceac9 (patch) | |
| tree | cba7be2dc8a7d264bd6acfbdab82bc1f448a1ad5 /mumd/src/command.rs | |
| parent | c873e4250c58d872763129bff2c0b0e6c91c0a2a (diff) | |
| download | mum-821107122299eebde5da1223ea328f63782ceac9.tar.gz | |
cargo fmt
Diffstat (limited to 'mumd/src/command.rs')
| -rw-r--r-- | mumd/src/command.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mumd/src/command.rs b/mumd/src/command.rs index 57eaaa3..a035a26 100644 --- a/mumd/src/command.rs +++ b/mumd/src/command.rs @@ -8,7 +8,10 @@ use tokio::sync::mpsc; pub async fn handle( state: Arc<Mutex<State>>, - mut command_receiver: mpsc::UnboundedReceiver<(Command, IpcSender<mumlib::error::Result<Option<CommandResponse>>>)>, + mut command_receiver: mpsc::UnboundedReceiver<( + Command, + IpcSender<mumlib::error::Result<Option<CommandResponse>>>, + )>, ) { debug!("Begin listening for commands"); while let Some(command) = command_receiver.recv().await { |
