diff options
author | Miguel Ojeda <[email protected]> | 2024-09-04 22:43:44 +0200 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2024-10-07 21:39:57 +0200 |
commit | 139d396572ec4ba6e8cc5c02f5c8d5d1139be4b7 (patch) | |
tree | ec65eb0317fbdaa7106ed5438de0ca7a7942d37d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 624063b9ac97f40cadca32a896aafeb28b1220fd (diff) |
Documentation: rust: add coding guidelines on lints
In the C side, disabling diagnostics locally, i.e. within the source code,
is rare (at least in the kernel). Sometimes warnings are manipulated
via the flags at the translation unit level, but that is about it.
In Rust, it is easier to change locally the "level" of lints
(e.g. allowing them locally). In turn, this means it is easier to
globally enable more lints that may trigger a few false positives here
and there that need to be allowed locally, but that generally can spot
issues or bugs.
Thus document this.
Reviewed-by: Trevor Gross <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Tested-by: Gary Guo <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions