Skip to content

Commit

Permalink
Update CODE_STYLE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Apr 7, 2024
1 parent 2b99c94 commit 9789a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CODE_STYLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl<'a> AnswerCallbackQuery<'a> {

**Rationale:** `Self` is generally shorter and it's easier to copy-paste code or rename the type.

## Deriving traits
## Deriving traits (apply only to libraries)

Derive `Debug`, `Clone`, `Copy`, `PartialEq`, `Eq` and `Hash` for public types when possible (in this order).

Expand Down

0 comments on commit 9789a81

Please # to comment.