diff options
| author | Eskil Queseth <eskilq@kth.se> | 2020-10-17 21:28:40 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2020-10-17 21:28:40 +0200 |
| commit | ccc5f76133460d055a5d90ae9cd0a7bc2a83551d (patch) | |
| tree | 43d27a68fe15ef5f28bd08161bd03d1a39a00186 /mumd/src/command.rs | |
| parent | 7675171e2c307c91a81b0daee915c2a114ae4612 (diff) | |
| parent | f1df606dfeafbfe93066d23f378d7fdbd1b4e9e1 (diff) | |
| download | mum-ccc5f76133460d055a5d90ae9cd0a7bc2a83551d.tar.gz | |
Merge remote-tracking branch 'origin/pretty-print' into main
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 { |
