aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.rs b/src/state.rs
index 27170fa..2951b2b 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -10,7 +10,7 @@ pub enum Error {
InvalidCommandIndex { idx: usize },
#[snafu(display("error sending message: {}", source))]
- Send {
+ Sending {
source: futures::sync::mpsc::SendError<StateEvent>,
},
@@ -138,7 +138,7 @@ pub fn update(
}
}
.map(|_| ())
- .map_err(|e| Error::Send { source: e })
+ .map_err(|e| Error::Sending { source: e })
}
#[derive(Debug, Clone)]