summaryrefslogtreecommitdiff
path: root/cli/ops/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/ops/mod.rs')
-rw-r--r--cli/ops/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/ops/mod.rs b/cli/ops/mod.rs
index 673f00748..1e622463e 100644
--- a/cli/ops/mod.rs
+++ b/cli/ops/mod.rs
@@ -60,12 +60,12 @@ where
}
/// Helper for extracting the commonly used state. Used for sync ops.
-pub fn cli_state(state: &OpState) -> Rc<crate::state::State> {
- state.borrow::<Rc<crate::state::State>>().clone()
+pub fn cli_state(state: &OpState) -> Rc<crate::state::CliState> {
+ state.borrow::<Rc<crate::state::CliState>>().clone()
}
/// Helper for extracting the commonly used state. Used for async ops.
-pub fn cli_state2(state: &Rc<RefCell<OpState>>) -> Rc<crate::state::State> {
+pub fn cli_state2(state: &Rc<RefCell<OpState>>) -> Rc<crate::state::CliState> {
let state = state.borrow();
- state.borrow::<Rc<crate::state::State>>().clone()
+ state.borrow::<Rc<crate::state::CliState>>().clone()
}