summary refs log tree commit diff
path: root/msg_socket/src/msg_on_socket.rs
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-03-25 08:39:23 +0000
committerAlyssa Ross <hi@alyssa.is>2020-03-25 08:39:57 +0000
commit88b7821302043b7ad871fcc0c7748573d0f140e2 (patch)
treeaf0218f5fc5c462060a30d1ba84d34dffbc11954 /msg_socket/src/msg_on_socket.rs
parentf84d929540fee3fc9bb6a7b2ed64525cd587d282 (diff)
downloadcrosvm-88b7821302043b7ad871fcc0c7748573d0f140e2.tar
crosvm-88b7821302043b7ad871fcc0c7748573d0f140e2.tar.gz
crosvm-88b7821302043b7ad871fcc0c7748573d0f140e2.tar.bz2
crosvm-88b7821302043b7ad871fcc0c7748573d0f140e2.tar.lz
crosvm-88b7821302043b7ad871fcc0c7748573d0f140e2.tar.xz
crosvm-88b7821302043b7ad871fcc0c7748573d0f140e2.tar.zst
crosvm-88b7821302043b7ad871fcc0c7748573d0f140e2.zip
msg_socket: fix doc typo
Diffstat (limited to 'msg_socket/src/msg_on_socket.rs')
-rw-r--r--msg_socket/src/msg_on_socket.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/msg_socket/src/msg_on_socket.rs b/msg_socket/src/msg_on_socket.rs
index c6e937c..020f70f 100644
--- a/msg_socket/src/msg_on_socket.rs
+++ b/msg_socket/src/msg_on_socket.rs
@@ -101,7 +101,7 @@ pub trait MsgOnSocket: Sized {
     ///
     /// 0. fds contains valid fds, received from socket, serialized by Self::write_to_buffer.
     /// 1. For enum, fds contains correct fd layout of the particular variant.
-    /// 2. write_to_buffer is implemented correctly(put valid fds into the buffer, has no padding,
+    /// 2. write_to_buffer is implemented correctly (put valid fds into the buffer, has no padding,
     ///    return correct count).
     unsafe fn read_from_buffer(buffer: &[u8], fds: &[RawFd]) -> MsgResult<(Self, usize)>;
     /// Serialize self to buffers.