From f7a70796e2c00fda8043b083378673ac2ada30c9 Mon Sep 17 00:00:00 2001 From: iam54r1n4 Date: Sun, 22 Jan 2023 13:58:34 -0800 Subject: [PATCH] Add allow(unused) for set_identifier function --- src-tauri/src/deep_link/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/deep_link/mod.rs b/src-tauri/src/deep_link/mod.rs index 165dbfe..262ef93 100644 --- a/src-tauri/src/deep_link/mod.rs +++ b/src-tauri/src/deep_link/mod.rs @@ -21,6 +21,7 @@ static ID: OnceCell = OnceCell::new(); /// /// # Errors /// If ID was already set this functions returns an error containing the ID as String. +#[allow(unused)] pub fn set_identifier(identifier: &str) -> Result<(), String> { ID.set(identifier.to_string()) }