mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-25 08:02:06 +01:00
Update CODE_STYLE.md
This commit is contained in:
parent
3308014694
commit
96e2402f48
1 changed files with 1 additions and 0 deletions
|
@ -122,3 +122,4 @@ C: Into<String>, { ... }
|
||||||
|
|
||||||
## Misc
|
## Misc
|
||||||
1. Use `Into<...>` only where there exists at least one conversion **and** it will be logically to use.
|
1. Use `Into<...>` only where there exists at least one conversion **and** it will be logically to use.
|
||||||
|
2. Always mark a function as `#[must_use]` if its return value **must** be used.
|
||||||
|
|
Loading…
Add table
Reference in a new issue