Enforce style lints which do not have violations (#36580)
Release Notes: - N/A
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user