diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-10-11 11:41:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-11 11:41:54 -0700 |
commit | 97d8498d46bbfb7bb16eeb3a69565d2aeda1e5aa (patch) | |
tree | cfe85f3afccda5c0f87cbb29b79e0eab8d9c0d97 /cli/state.rs | |
parent | 04ed8d0531b7c2c308b28b742f5c332345d97065 (diff) |
Add init methods for each op module (#3087)
Diffstat (limited to 'cli/state.rs')
-rw-r--r-- | cli/state.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/state.rs b/cli/state.rs index 6f2c6db8f..70845fb8b 100644 --- a/cli/state.rs +++ b/cli/state.rs @@ -104,9 +104,8 @@ impl Deref for ThreadSafeState { } impl ThreadSafeState { - // TODO: better name welcome /// Wrap core `OpDispatcher` to collect metrics. - pub fn cli_op<D>( + pub fn core_op<D>( &self, dispatcher: D, ) -> impl Fn(&[u8], Option<PinnedBuf>) -> CoreOp |