mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-12 09:22:26 -04:00
clippy: Fix more pedantic warnings
This commit is contained in:
parent
d1f27cc5fc
commit
b8f3f79e0b
2 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,7 @@ impl fmt::Display for HdmiCecState {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl HdmiCecState {
|
impl HdmiCecState {
|
||||||
|
#[must_use]
|
||||||
pub fn to_human_readable(&self) -> &'static str {
|
pub fn to_human_readable(&self) -> &'static str {
|
||||||
match self {
|
match self {
|
||||||
HdmiCecState::Disabled => "disabled",
|
HdmiCecState::Disabled => "disabled",
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#![allow(clippy::module_name_repetitions)]
|
||||||
|
|
||||||
// Re-export relevant proxies
|
// Re-export relevant proxies
|
||||||
|
|
||||||
// TODO Some of these should get renamed
|
// TODO Some of these should get renamed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue