We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e1c583 commit 5161b39Copy full SHA for 5161b39
1 file changed
plugins/recent-doc/src/commands.rs
@@ -53,12 +53,12 @@ impl Drop for ComGuard {
53
}
54
55
#[command]
56
-pub(crate) fn add_recent_document<R: Runtime>(app: AppHandle<R>, _path: &str) -> Result<()> {
+pub(crate) fn add_recent_document<R: Runtime>(_app: AppHandle<R>, _path: &str) -> Result<()> {
57
#[cfg(target_os = "windows")]
58
unsafe {
59
let _com_guard = ComGuard::new();
60
61
- let app_id = &app.config().identifier;
+ let app_id = &_app.config().identifier;
62
let app_id_hstring = HSTRING::from(app_id);
63
64
let path_hstring = HSTRING::from(_path);
0 commit comments