diff options
| author | Kapten Z∅∅m <55669224+default-username-852@users.noreply.github.com> | 2021-06-06 23:13:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-06 23:13:42 +0200 |
| commit | bfae92c25b0bb319d463c5632f21cc9cf02a9390 (patch) | |
| tree | 9290d3036561900e1813fcb93bfa841dc7eec0b7 /mumctl/src | |
| parent | 2014e5b1f3bc4c08ff3fe6ea81756e9b80dd5196 (diff) | |
| download | mum-bfae92c25b0bb319d463c5632f21cc9cf02a9390.tar.gz | |
Apply suggestions from code review
Co-authored-by: Gustav Sörnäs <gustav@sornas.net>
Diffstat (limited to 'mumctl/src')
| -rw-r--r-- | mumctl/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mumctl/src/main.rs b/mumctl/src/main.rs index 4ef30e7..6fca6a4 100644 --- a/mumctl/src/main.rs +++ b/mumctl/src/main.rs @@ -645,7 +645,7 @@ fn parse_state(server_state: &mumlib::state::Server) { } } -/// Tries to find a running mumd instance and tries to receive one response from it. +/// Tries to find a running mumd instance and receive one response from it. fn send_command( command: MumCommand, ) -> Result<mumlib::error::Result<Option<CommandResponse>>, CliError> { @@ -667,7 +667,7 @@ fn send_command( bincode::deserialize_from(&mut connection).map_err(|_| CliError::ConnectionError) } -/// Tries to find a running mumd instance and sends a single command to it. Returns an iterator which +/// Tries to find a running mumd instance and send a single command to it. Returns an iterator which /// yields all responses that mumd sends for that particular command. fn send_command_multi( command: MumCommand, |
