mirror of https://github.com/zkat/cacache-rs.git
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:
parent
66eae4b78f
commit
c5abab6348
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue