From c5abab6348c009121adcd8a664cd1d29689d87ea Mon Sep 17 00:00:00 2001 From: Shingo OKAWA Date: Sun, 11 Jan 2026 22:38:52 +0900 Subject: [PATCH] fix: cfg gating for async-std in update_state Signed-off-by: Shingo OKAWA --- src/content/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/write.rs b/src/content/write.rs index 8b7961e..d3210c6 100644 --- a/src/content/write.rs +++ b/src/content/write.rs @@ -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;