aboutsummaryrefslogtreecommitdiffstats
path: root/mumctl
diff options
context:
space:
mode:
authorKapten Z∅∅m <55669224+default-username-852@users.noreply.github.com>2021-06-06 23:13:42 +0200
committerGitHub <noreply@github.com>2021-06-06 23:13:42 +0200
commitbfae92c25b0bb319d463c5632f21cc9cf02a9390 (patch)
tree9290d3036561900e1813fcb93bfa841dc7eec0b7 /mumctl
parent2014e5b1f3bc4c08ff3fe6ea81756e9b80dd5196 (diff)
downloadmum-bfae92c25b0bb319d463c5632f21cc9cf02a9390.tar.gz
Apply suggestions from code review
Co-authored-by: Gustav Sörnäs <gustav@sornas.net>
Diffstat (limited to 'mumctl')
-rw-r--r--mumctl/src/main.rs4
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,