fix: cfg gating for async-std in update_state

Signed-off-by: Shingo OKAWA <shingo.okawa.g.h.c@gmail.com>
This commit is contained in:
Shingo OKAWA 2026-01-11 22:38:52 +09:00
parent 66eae4b78f
commit c5abab6348
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ fn update_state(
}
}
#[cfg(not(feature = "tokio"))]
#[cfg(all(not(feature = "tokio"), feature = "async-std"))]
/// Update the state.
fn update_state(current_state: &mut State, next_state: State) {
*current_state = next_state;