Skip to content

Commit

Permalink
perf: remove extranous call in StateManager::get (#8272)
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir authored Nov 20, 2023
1 parent f26d9f0 commit b8756bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/tauri/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8756bc

Please sign in to comment.