summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-01-09 16:02:13 +0100
committerLinus Färnstrand <linus@mullvad.net>2017-01-09 16:02:13 +0100
commit168ffeb02f273c7f3c36256fb2c7e20bc95df311 (patch)
treefb3ed156fd9cda63cb583d40dde00c4368a0706e /src
parent7fca68c93c4f2e89bd1a2e6fccf8842914364966 (diff)
downloadmullvadvpn-168ffeb02f273c7f3c36256fb2c7e20bc95df311.tar.xz
mullvadvpn-168ffeb02f273c7f3c36256fb2c7e20bc95df311.zip
Fix typos
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