diff options
| author | Ronald Weber <[email protected]> | 2025-02-19 17:29:21 +0100 |
|---|---|---|
| committer | Ronald Weber <[email protected]> | 2025-02-19 17:29:21 +0100 |
| commit | 7a2f038800e336f4b823afca9d3eb2e70e90b1e0 (patch) | |
| tree | 7c67c137b45e98d687c30ffad1a00f186cbef640 /embassy-usb/src/class | |
| parent | a1e75841f8940153ef8e0fdb38d6c8ba7322edb9 (diff) | |
doc: Fix "the the"
Diffstat (limited to 'embassy-usb/src/class')
| -rw-r--r-- | embassy-usb/src/class/web_usb.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-usb/src/class/web_usb.rs b/embassy-usb/src/class/web_usb.rs index 10ebf318d..405944f14 100644 --- a/embassy-usb/src/class/web_usb.rs +++ b/embassy-usb/src/class/web_usb.rs | |||
| @@ -140,7 +140,7 @@ pub struct WebUsb<'d, D: Driver<'d>> { | |||
| 140 | impl<'d, D: Driver<'d>> WebUsb<'d, D> { | 140 | impl<'d, D: Driver<'d>> WebUsb<'d, D> { |
| 141 | /// Builder for the WebUSB capability implementation. | 141 | /// Builder for the WebUSB capability implementation. |
| 142 | /// | 142 | /// |
| 143 | /// Pass in a USB `Builder`, a `State`, which holds the the control endpoint state, and a `Config` for the WebUSB configuration. | 143 | /// Pass in a USB `Builder`, a `State`, which holds the control endpoint state, and a `Config` for the WebUSB configuration. |
| 144 | pub fn configure(builder: &mut Builder<'d, D>, state: &'d mut State<'d>, config: &'d Config<'d>) { | 144 | pub fn configure(builder: &mut Builder<'d, D>, state: &'d mut State<'d>, config: &'d Config<'d>) { |
| 145 | let mut func = builder.function(USB_CLASS_VENDOR, USB_SUBCLASS_NONE, USB_PROTOCOL_NONE); | 145 | let mut func = builder.function(USB_CLASS_VENDOR, USB_SUBCLASS_NONE, USB_PROTOCOL_NONE); |
| 146 | let mut iface = func.interface(); | 146 | let mut iface = func.interface(); |
