diff options
author | Jianxun Zhang <jianxun.zhang@intel.com> | 2019-02-15 10:57:23 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-19 22:15:41 -0800 |
commit | 0373b9f154b5ec1894138b7c10ad495fcce7b64f (patch) | |
tree | d1a0049a6196e6a5d947311a162a99f9713613a8 | |
parent | d82f27abd7caef8cc944d836b04db6ac99551272 (diff) | |
download | crosvm-0373b9f154b5ec1894138b7c10ad495fcce7b64f.tar crosvm-0373b9f154b5ec1894138b7c10ad495fcce7b64f.tar.gz crosvm-0373b9f154b5ec1894138b7c10ad495fcce7b64f.tar.bz2 crosvm-0373b9f154b5ec1894138b7c10ad495fcce7b64f.tar.lz crosvm-0373b9f154b5ec1894138b7c10ad495fcce7b64f.tar.xz crosvm-0373b9f154b5ec1894138b7c10ad495fcce7b64f.tar.zst crosvm-0373b9f154b5ec1894138b7c10ad495fcce7b64f.zip |
usb_util: fix documentation comment
BUG=none (found during code review) TEST=none Change-Id: I5343297a85c52a9b97f3839fde6a38c205b31cc1 Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com> Reviewed-on: https://chromium-review.googlesource.com/1474737 Commit-Ready: Jingkui Wang <jkwang@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Jingkui Wang <jkwang@google.com>
-rw-r--r-- | usb_util/src/endpoint_descriptor.rs | 2 | ||||
-rw-r--r-- | usb_util/src/interface_descriptor.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usb_util/src/endpoint_descriptor.rs b/usb_util/src/endpoint_descriptor.rs index e8d328a..f1ca229 100644 --- a/usb_util/src/endpoint_descriptor.rs +++ b/usb_util/src/endpoint_descriptor.rs @@ -6,7 +6,7 @@ use super::types::{EndpointDirection, EndpointType}; use bindings::libusb_endpoint_descriptor; use std::ops::Deref; -/// ConfigDescriptor wraps libusb_interface_descriptor. +/// EndpointDescriptor wraps libusb_endpoint_descriptor. pub struct EndpointDescriptor<'a>(&'a libusb_endpoint_descriptor); const ENDPOINT_DESCRIPTOR_DIRECTION_MASK: u8 = 1 << 7; diff --git a/usb_util/src/interface_descriptor.rs b/usb_util/src/interface_descriptor.rs index 08b2704..3393f3a 100644 --- a/usb_util/src/interface_descriptor.rs +++ b/usb_util/src/interface_descriptor.rs @@ -6,7 +6,7 @@ use super::endpoint_descriptor::EndpointDescriptor; use bindings::libusb_interface_descriptor; use std::ops::Deref; -/// ConfigDescriptor wraps libusb_interface_descriptor. +/// InterfaceDescriptor wraps libusb_interface_descriptor. pub struct InterfaceDescriptor<'a>(&'a libusb_interface_descriptor); impl<'a> InterfaceDescriptor<'a> { |