mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +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
|
||||
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…
Reference in a new issue