mirror of
https://github.com/aristocratos/btop.git
synced 2026-02-13 02:02:24 +02:00
chore: add rule to use fmt::format to guidelines
This commit is contained in:
@@ -38,6 +38,9 @@
|
||||
|
||||
* Use the included `fmt` library for string formatting, see issue [#535](https://github.com/aristocratos/btop/issues/535) for more info and examples.
|
||||
|
||||
* All new code should prefer `fmt::format` or `fmt::format_to` instead of
|
||||
manually concatenating strings for better performance.
|
||||
|
||||
* Do not add includes if the same functionality can be achieved using the already included libraries.
|
||||
|
||||
* Use descriptive names for variables.
|
||||
|
||||
Reference in New Issue
Block a user