From 8e32c14b262f7db923afd323baed5146cb67aed7 Mon Sep 17 00:00:00 2001 From: Chip Reed Date: Thu, 11 May 2023 17:30:14 +0200 Subject: [PATCH] fix unused imports in pattern --- core/tauri-utils/src/pattern/mod.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/core/tauri-utils/src/pattern/mod.rs b/core/tauri-utils/src/pattern/mod.rs index 6c5926180..3445bf494 100644 --- a/core/tauri-utils/src/pattern/mod.rs +++ b/core/tauri-utils/src/pattern/mod.rs @@ -2,12 +2,10 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: MIT -use std::{marker::PhantomData, sync::Arc}; +use std::marker::PhantomData; use crate::assets::{Assets, EmbeddedAssets}; -use self::isolation::Keys; - /// Handling the Tauri "Isolation" Pattern. #[cfg(feature = "isolation")] pub mod isolation; @@ -21,7 +19,7 @@ pub enum Pattern { #[cfg(feature = "isolation")] Isolation { /// The HTML served on `isolation://index.html`. - assets: Arc, + assets: std::sync::Arc, /// The schema used for the isolation frames. schema: String, @@ -32,7 +30,7 @@ pub enum Pattern { key: String, /// Cryptographically secure keys - crypto_keys: Box, + crypto_keys: Box, }, }