Skip to content

Commit cf09864

Browse files
committed
chore(cli): fix clippy warnings
1 parent d7ffa7f commit cf09864

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tooling/cli/src/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub fn command(mut options: Options) -> Result<()> {
7474
options.config = merge_config;
7575

7676
let tauri_path = tauri_dir();
77-
set_current_dir(&tauri_path).with_context(|| "failed to change current working directory")?;
77+
set_current_dir(tauri_path).with_context(|| "failed to change current working directory")?;
7878

7979
let config = get_config(options.config.as_deref())?;
8080

tooling/cli/src/dev.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ fn command_internal(mut options: Options) -> Result<()> {
8888
None
8989
};
9090

91-
set_current_dir(&tauri_path).with_context(|| "failed to change current working directory")?;
91+
set_current_dir(tauri_path).with_context(|| "failed to change current working directory")?;
9292

9393
let config = get_config(options.config.as_deref())?;
9494

0 commit comments

Comments
 (0)