From 0c00370aeb021af8cd31cc2fd762e971111344ae Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Sat, 26 Oct 2024 10:48:13 +0800 Subject: [PATCH] Improve doc --- src/host.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/host.rs b/src/host.rs index 5cdae7a..94f009b 100644 --- a/src/host.rs +++ b/src/host.rs @@ -1,7 +1,7 @@ //! Host USB use super::*; -/// A handler to pass requests to a rusb USB device of the host +/// A handler to pass requests to interface of a rusb USB device of the host #[derive(Clone, Debug)] pub struct RusbUsbHostInterfaceHandler { handle: Arc>>, @@ -92,7 +92,7 @@ impl UsbInterfaceHandler for RusbUsbHostInterfaceHandler { } } -/// A handler to pass requests to a USB device of the host +/// A handler to pass requests to device of a rusb USB device of the host #[derive(Clone, Debug)] pub struct RusbUsbHostDeviceHandler { handle: Arc>>, @@ -149,7 +149,7 @@ impl UsbDeviceHandler for RusbUsbHostDeviceHandler { } } -/// A handler to pass requests to a rusb USB device of the host +/// A handler to pass requests to interface of a nusb USB device of the host #[derive(Clone)] pub struct NusbUsbHostInterfaceHandler { handle: Arc>, @@ -233,7 +233,7 @@ impl UsbInterfaceHandler for NusbUsbHostInterfaceHandler { } } -/// A handler to pass requests to a USB device of the host +/// A handler to pass requests to device of a nusb USB device of the host #[derive(Clone)] pub struct NusbUsbHostDeviceHandler { handle: Arc>,