commit | 3c2605926b0985fcd5ebf168b66ba4a038be062b | [log] [tgz] |
---|---|---|
author | Kiet Tran <kiettran@google.com> | Mon Jan 27 13:47:45 2025 -0800 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 27 13:47:45 2025 -0800 |
tree | 1878f135b8bc3659bb15e493450202ab513f6c36 | |
parent | add3624607ce430563fecaa8cd214afc5ef81713 [diff] |
[wlan][core] Add lints to avoid panics This CL adds new lints that prevent panics in prod. However, sometimes panics are desirable, and the lints (like all others) can be overridden at those times by adding an `#[expect(clippy::foo)]`. This adds a bit of extra friction / visibility in both authoring and review. The lints are not applied to tests. The CL adds `#[expect]` or makes minor refactors where the lints fired today. Bug: 390163524 Test: CQ Change-Id: I54d4a91c305b20df36e7817b6ea43cd041c4d4e0 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1192752 Fuchsia-Auto-Submit: Kiet Tran <kiettran@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Charles Celerier <chcl@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.