Skip to content

Commit

Permalink
fixup! Add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Jan 6, 2025
1 parent ee3c8c4 commit 753f8c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub struct CtapHid<'alloc, 'pipe, 'interrupt, Bus: UsbBus> {
pipe: Pipe<'alloc, 'pipe, 'interrupt, Bus>,
}

impl<'alloc, 'pipe, 'interrupt, Bus> CtapHid<'alloc, 'pipe, 'interrupt, Bus>
impl<'alloc, 'pipe, Bus> CtapHid<'alloc, 'pipe, '_, Bus>
where
Bus: UsbBus,
{
Expand Down Expand Up @@ -218,7 +218,7 @@ pub enum ClassRequests {
SetProtocol = 0xB,
}

impl<'alloc, 'pipe, 'interrupt, Bus> UsbClass<Bus> for CtapHid<'alloc, 'pipe, 'interrupt, Bus>
impl<Bus> UsbClass<Bus> for CtapHid<'_, '_, '_, Bus>
where
Bus: UsbBus,
{
Expand Down
2 changes: 1 addition & 1 deletion src/pipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub struct Pipe<'alloc, 'pipe, 'interrupt, Bus: UsbBus> {
pub(crate) version: crate::Version,
}

impl<'alloc, 'pipe, 'interrupt, Bus: UsbBus> Pipe<'alloc, 'pipe, 'interrupt, Bus> {
impl<'alloc, 'pipe, Bus: UsbBus> Pipe<'alloc, 'pipe, '_, Bus> {
pub(crate) fn new(
read_endpoint: EndpointOut<'alloc, Bus>,
write_endpoint: EndpointIn<'alloc, Bus>,
Expand Down

0 comments on commit 753f8c2

Please sign in to comment.