From 7a2f038800e336f4b823afca9d3eb2e70e90b1e0 Mon Sep 17 00:00:00 2001 From: Ronald Weber Date: Wed, 19 Feb 2025 17:29:21 +0100 Subject: doc: Fix "the the" --- embassy-usb/src/class/web_usb.rs | 2 +- embassy-usb/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'embassy-usb') 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>> { impl<'d, D: Driver<'d>> WebUsb<'d, D> { /// Builder for the WebUSB capability implementation. /// - /// Pass in a USB `Builder`, a `State`, which holds the the control endpoint state, and a `Config` for the WebUSB configuration. + /// Pass in a USB `Builder`, a `State`, which holds the control endpoint state, and a `Config` for the WebUSB configuration. pub fn configure(builder: &mut Builder<'d, D>, state: &'d mut State<'d>, config: &'d Config<'d>) { let mut func = builder.function(USB_CLASS_VENDOR, USB_SUBCLASS_NONE, USB_PROTOCOL_NONE); let mut iface = func.interface(); diff --git a/embassy-usb/src/lib.rs b/embassy-usb/src/lib.rs index 93dd6b4d2..0638fd0a2 100644 --- a/embassy-usb/src/lib.rs +++ b/embassy-usb/src/lib.rs @@ -120,7 +120,7 @@ pub trait Handler { /// # Returns /// /// If you didn't handle this request (for example if it's for the wrong interface), return - /// `None`. In this case, the the USB stack will continue calling the other handlers, to see + /// `None`. In this case, the USB stack will continue calling the other handlers, to see /// if another handles it. /// /// If you did, return `Some` with either `Accepted` or `Rejected`. This will make the USB stack @@ -142,7 +142,7 @@ pub trait Handler { /// # Returns /// /// If you didn't handle this request (for example if it's for the wrong interface), return - /// `None`. In this case, the the USB stack will continue calling the other handlers, to see + /// `None`. In this case, the USB stack will continue calling the other handlers, to see /// if another handles it. /// /// If you did, return `Some` with either `Accepted` or `Rejected`. This will make the USB stack -- cgit