Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Dec 30, 2024
1 parent 93fcc73 commit 5f294fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/dlint/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ impl RuleFormatter for PrettyFormatter {

// Certain rule name is specified.
// Print its documentation richly.
[rule] => {
Ok(format!("Documentation: {}", rule.docs))
}
[rule] => Ok(format!("Documentation: {}", rule.docs)),

// No rule name is specified.
// Print the list of all rules.
Expand Down

0 comments on commit 5f294fb

Please sign in to comment.