Skip to content

Commit 10e3ef5

Browse files
committed
clippy
1 parent 09ccbc9 commit 10e3ef5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crates/tauri-cli/src/mobile/ios/build.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ pub fn command(options: Options, noise_level: NoiseLevel) -> Result<BuiltApplica
175175
options
176176
.targets
177177
.as_ref()
178-
.map(|t| t.first())
179-
.flatten()
178+
.and_then(|t| t.first())
180179
.map(|t| t.as_str())
181180
.unwrap_or(Target::DEFAULT_KEY),
182181
)
@@ -336,7 +335,7 @@ fn run_build(
336335
Profile::Release
337336
};
338337

339-
crate::build::setup(&interface, &mut build_options, tauri_config.clone(), true)?;
338+
crate::build::setup(interface, &mut build_options, tauri_config.clone(), true)?;
340339

341340
let app_settings = interface.app_settings();
342341
let out_dir = app_settings.out_dir(&InterfaceOptions {

0 commit comments

Comments
 (0)