From b8756bc34e6a11cd1d1c2665d9f1d884252a1107 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Mon, 20 Nov 2023 22:55:18 +0200 Subject: [PATCH] perf: remove extranous call in `StateManager::get` (#8272) --- core/tauri/src/state.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/core/tauri/src/state.rs b/core/tauri/src/state.rs index b13f0c0f3f4a..fa0eaae53f72 100644 --- a/core/tauri/src/state.rs +++ b/core/tauri/src/state.rs @@ -71,7 +71,6 @@ impl StateManager { /// Gets the state associated with the specified type. pub fn get(&self) -> State<'_, T> { - self.0.get::(); State( self .0