summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/process/monitor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process/monitor.rs b/src/process/monitor.rs
index fdfc9ba74d..7e804bb1f0 100644
--- a/src/process/monitor.rs
+++ b/src/process/monitor.rs
@@ -280,7 +280,7 @@ impl<C: MonitorChild, B: ChildSpawner<C>> Drop for StateMachine<C, B> {
}
/// A child process monitor. Takes care of starting and monitoring a child process and sends
-/// out events about it to a registered lisener.
+/// out events about it to a registered listener.
pub struct ChildMonitor {
state_machine: Sender<MonitorMsg>,
}
@@ -294,7 +294,7 @@ impl ChildMonitor {
}
/// Set the event listener to `listener`. Note that events might not show up on the new
- /// listener imediately after this call since the listener change message must be processed by
+ /// listener immediately after this call since the listener change message must be processed by
/// the backend first.
pub fn set_listener<L>(&self, listener: L)
where L: MonitorEventListener