From 6d425bb5bb8a6dc81949ccad51cefe08a8788e97 Mon Sep 17 00:00:00 2001 From: NikVolf Date: Tue, 5 Apr 2016 12:35:45 +0300 Subject: [PATCH] fix doc --- ipc/rpc/src/interface.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipc/rpc/src/interface.rs b/ipc/rpc/src/interface.rs index 95a360cad..7ed8b60c4 100644 --- a/ipc/rpc/src/interface.rs +++ b/ipc/rpc/src/interface.rs @@ -21,10 +21,10 @@ use std::marker::Sync; use std::sync::atomic::*; pub trait IpcInterface { - /// reads the message from io, dispatches the call and returns result + /// reads the message from io, dispatches the call and returns serialized result fn dispatch(&self, r: &mut R) -> Vec where R: Read; - /// deserialize the payload from the io `r` and invokes method specified by `method_num` + /// deserialize the payload from buffer, dispatches invoke and returns serialized result /// (for non-blocking io) fn dispatch_buf(&self, method_num: u16, buf: &[u8]) -> Vec; }