Skip to content

Commit

Permalink
Improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Oct 26, 2024
1 parent 94d6749 commit 0c00370
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/host.rs
Original file line number Diff line number Diff line change
@@ -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<Mutex<DeviceHandle<GlobalContext>>>,
Expand Down Expand Up @@ -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<Mutex<DeviceHandle<GlobalContext>>>,
Expand Down Expand Up @@ -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<Mutex<nusb::Interface>>,
Expand Down Expand Up @@ -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<Mutex<nusb::Device>>,
Expand Down

0 comments on commit 0c00370

Please sign in to comment.