From b4321721c4131047a7305a99e8960ac4d69682e6 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Sun, 30 May 2021 22:53:56 +0000 Subject: [PATCH] Minor documentation update. --- src/commands/mod.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 41042c5..6e63baf 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -112,9 +112,8 @@ fn execution_allowed(cmd: &(impl Command + ?Sized), ctx: &Context<'_>) -> Result } /// Attempt to execute a command, and return the content that should -/// go back to Matrix, if the command was executed (successfully or -/// not). If a command is determined to be ignored, this function will -/// return None, signifying that we should not send a response. +/// go back to Matrix, if the command was executed, whether or not the +/// command was successful. pub async fn execute_command(ctx: &Context<'_>) -> ExecutionResult { let cmd = parser::parse_command(&ctx.message_body)?;