summary refs log tree commit diff
path: root/vm_control
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-03-08 22:39:09 +0000
committerAlyssa Ross <hi@alyssa.is>2020-03-09 03:02:55 +0000
commit6604c60596f2d82903cac2e3f14b5ec8eb10f358 (patch)
tree15061caa791a40b05bfb9053070fee1934aa204d /vm_control
parent97c7c5f4ff11468d1cb44ffbce5c4aa98295b8b8 (diff)
downloadcrosvm-6604c60596f2d82903cac2e3f14b5ec8eb10f358.tar
crosvm-6604c60596f2d82903cac2e3f14b5ec8eb10f358.tar.gz
crosvm-6604c60596f2d82903cac2e3f14b5ec8eb10f358.tar.bz2
crosvm-6604c60596f2d82903cac2e3f14b5ec8eb10f358.tar.lz
crosvm-6604c60596f2d82903cac2e3f14b5ec8eb10f358.tar.xz
crosvm-6604c60596f2d82903cac2e3f14b5ec8eb10f358.tar.zst
crosvm-6604c60596f2d82903cac2e3f14b5ec8eb10f358.zip
vm_control: make MaybeOwnedFd docs make more sense
Diffstat (limited to 'vm_control')
-rw-r--r--vm_control/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_control/src/lib.rs b/vm_control/src/lib.rs
index 298d800..8a7b9ec 100644
--- a/vm_control/src/lib.rs
+++ b/vm_control/src/lib.rs
@@ -23,7 +23,7 @@ use msg_socket::{MsgOnSocket, MsgReceiver, MsgResult, MsgSender, MsgSocket};
 use resources::{Alloc, GpuMemoryDesc, MmioType, SystemAllocator};
 use sys_util::{error, Error as SysError, EventFd, GuestAddress, MemoryMapping, MmapError, Result};
 
-/// A file descriptor either borrowed or owned by this.
+/// A data structure that either owns or borrows a file descriptor.
 #[derive(Debug)]
 pub enum MaybeOwnedFd {
     /// Owned by this enum variant, and will be destructed automatically if not moved out.