summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Matuszewski <Xanewok@gmail.com>2020-03-13 23:52:59 +0100
committerIgor Matuszewski <igor@sequoia-pgp.org>2020-03-18 17:52:39 +0100
commite4c99e92ce67d65f05aa15d08fbcb40ad015db5e (patch)
treebccfda93200f9bf4300c4286cfd28942667482ef
parenta9051fe2da030f1bb1a3356cea673c9667755cae (diff)
ipc: Fix small typos
-rw-r--r--ipc/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/src/lib.rs b/ipc/src/lib.rs
index c53a36df..5e03b3f0 100644
--- a/ipc/src/lib.rs
+++ b/ipc/src/lib.rs
@@ -128,7 +128,7 @@ impl Descriptor {
/// Connects to a descriptor, starting the server if necessary.
///
- /// This function does not use the contexts IPC policy, but uses
+ /// This function does not use the context's IPC policy, but uses
/// the given one.
pub fn connect_with_policy(&self, handle: &tokio_core::reactor::Handle,
policy: core::IPCPolicy)
@@ -186,7 +186,7 @@ impl Descriptor {
} else {
let cookie = Cookie::new()?;
for external in [true, false].iter() {
- // Implement the IPC pocicy.
+ // Implement the IPC policy.
if policy == core::IPCPolicy::Internal && *external {
// Do not try to fork.
continue;