Skip to content

Commit

Permalink
clarify message
Browse files Browse the repository at this point in the history
  • Loading branch information
augustelalande committed Jul 26, 2024
1 parent 97ef2bc commit 017bc1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub struct DocstringExtraneousReturns;
impl Violation for DocstringExtraneousReturns {
#[derive_message_formats]
fn message(&self) -> String {
format!("Docstring should not have a returns section")
format!("Docstring should not have a returns section because the function doesn't return anything")
}
}

Expand Down

0 comments on commit 017bc1e

Please sign in to comment.