diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2023-03-04 20:52:29 +0100 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-03-04 20:52:29 +0100 |
| commit | 3789798e33f613dbdc91576eb57bf7691ba0568a (patch) | |
| tree | 9218e1363b198cc0e308d0f81819569b2d8bbb69 /xtask/src/argument_parsing.rs | |
| parent | d9bf04ae153bed12dad616baf091402930a3c500 (diff) | |
xtask: clippy fixes
Diffstat (limited to 'xtask/src/argument_parsing.rs')
| -rw-r--r-- | xtask/src/argument_parsing.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xtask/src/argument_parsing.rs b/xtask/src/argument_parsing.rs index aef5e3a..3e5afc3 100644 --- a/xtask/src/argument_parsing.rs +++ b/xtask/src/argument_parsing.rs @@ -88,6 +88,7 @@ pub enum Backends { } impl Backends { + #[allow(clippy::wrong_self_convention)] pub fn to_target(&self) -> &str { match self { Backends::Thumbv6 => ARMV6M, @@ -97,6 +98,7 @@ impl Backends { } } + #[allow(clippy::wrong_self_convention)] pub fn to_rtic_feature(&self) -> &str { match self { Backends::Thumbv6 => "thumbv6-backend", @@ -105,6 +107,7 @@ impl Backends { Backends::Thumbv8Main => "thumbv8main-backend", } } + #[allow(clippy::wrong_self_convention)] pub fn to_rtic_macros_feature(&self) -> &str { match self { Backends::Thumbv6 => "cortex-m-source-masking", |
