Enforce style lints which do not have violations (#36580)

Release Notes:

- N/A
This commit is contained in:
tidely 2025-08-20 15:07:37 +03:00 committed by GitHub
parent 4ee565cd39
commit 6ed29fbc34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 146 additions and 89 deletions

View file

@ -34,7 +34,7 @@ pub enum DataCollectionState {
impl DataCollectionState {
pub fn is_supported(&self) -> bool {
!matches!(self, DataCollectionState::Unsupported { .. })
!matches!(self, DataCollectionState::Unsupported)
}
pub fn is_enabled(&self) -> bool {