mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-09-11 07:55:34 +03:00
perf: remove extranous call in StateManager::get
(#8272)
This commit is contained in:
parent
f26d9f0884
commit
b8756bc34e
@ -71,7 +71,6 @@ impl StateManager {
|
||||
|
||||
/// Gets the state associated with the specified type.
|
||||
pub fn get<T: Send + Sync + 'static>(&self) -> State<'_, T> {
|
||||
self.0.get::<T>();
|
||||
State(
|
||||
self
|
||||
.0
|
||||
|
Loading…
Reference in New Issue
Block a user