Skip to content

Commit 0983863

Browse files
committed
fix build
1 parent 07ea881 commit 0983863

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugins/cli2/src/ext.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::path::PathBuf;
22

33
pub struct Cli2<'a, R: tauri::Runtime, M: tauri::Manager<R>> {
4-
manager: &'a M,
4+
_manager: &'a M,
55
_runtime: std::marker::PhantomData<fn() -> R>,
66
}
77

@@ -165,7 +165,7 @@ impl<R: tauri::Runtime, T: tauri::Manager<R>> Cli2PluginExt<R> for T {
165165
Self: Sized,
166166
{
167167
Cli2 {
168-
manager: self,
168+
_manager: self,
169169
_runtime: std::marker::PhantomData,
170170
}
171171
}

plugins/sidecar2/src/ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ fn is_symlink_launch() -> bool {
8888
}
8989

9090
#[cfg(not(debug_assertions))]
91-
fn resolve_sidecar_for_symlink_launch(name: &str) -> Result<PathBuf, crate::Error> {
91+
fn resolve_sidecar_for_symlink_launch(name: &str) -> Result<std::path::PathBuf, crate::Error> {
9292
let exe_path = std::env::current_exe().map_err(|e| {
9393
crate::Error::SidecarCreationFailed(format!("failed to get current exe: {}", e))
9494
})?;

0 commit comments

Comments
 (0)