aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb/src/class
diff options
context:
space:
mode:
authorRonald Weber <[email protected]>2025-02-19 17:29:21 +0100
committerRonald Weber <[email protected]>2025-02-19 17:29:21 +0100
commit7a2f038800e336f4b823afca9d3eb2e70e90b1e0 (patch)
tree7c67c137b45e98d687c30ffad1a00f186cbef640 /embassy-usb/src/class
parenta1e75841f8940153ef8e0fdb38d6c8ba7322edb9 (diff)
doc: Fix "the the"
Diffstat (limited to 'embassy-usb/src/class')
-rw-r--r--embassy-usb/src/class/web_usb.rs2
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>> {
140impl<'d, D: Driver<'d>> WebUsb<'d, D> { 140impl<'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();