diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2025-06-08 13:46:46 +0200 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2025-06-15 08:11:11 +0000 |
| commit | 38cba9f3ad25624bffe3c57820cff354e9760602 (patch) | |
| tree | 22b973607b908b74a148da26e42669468a69e8e4 /xtask/src/main.rs | |
| parent | 9bc60cc5ed4c66fa24fa1a9c24e7e4c27b94d546 (diff) | |
xtask: Cargo clippy lints
Diffstat (limited to 'xtask/src/main.rs')
| -rw-r--r-- | xtask/src/main.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 7182b49..1d9a2ac 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -89,11 +89,7 @@ fn main() -> anyhow::Result<()> { ); log::debug!("Partial features: {}", globals.partial); - let platform = if let Some(platform) = globals.platform { - platform - } else { - Platforms::default() - }; + let platform = globals.platform.unwrap_or_default(); let backend = if let Some(backend) = globals.backend { backend |
