From 9789a8103dd8f9779020ac2e483b01bdc9fba6a2 Mon Sep 17 00:00:00 2001 From: Yuki Kishimoto Date: Sun, 7 Apr 2024 12:23:48 +0200 Subject: [PATCH] Update `CODE_STYLE.md` --- CODE_STYLE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODE_STYLE.md b/CODE_STYLE.md index 6a7a505..2406215 100644 --- a/CODE_STYLE.md +++ b/CODE_STYLE.md @@ -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).