doc: Fix "the the"

This commit is contained in:
Ronald Weber
2025-02-19 17:29:21 +01:00
parent a1e75841f8
commit 7a2f038800
8 changed files with 12 additions and 13 deletions

View File

@@ -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();

View File

@@ -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