diff --git a/src/gpio.rs b/src/gpio.rs index 2034331..32814fc 100644 --- a/src/gpio.rs +++ b/src/gpio.rs @@ -505,7 +505,7 @@ impl Gpio { /// [`InputPin::poll_interrupt`]: struct.InputPin.html#method.poll_interrupt /// [`InputPin::set_async_interrupt`]: struct.InputPin.html#method.set_async_interrupt /// [`InputPin`]: struct.InputPin.html - /// [`Event`]: enum.Event.html + /// [`Event`]: struct.Event.html pub fn poll_interrupts<'a>( &self, pins: &[&'a InputPin], diff --git a/src/gpio/pin.rs b/src/gpio/pin.rs index 0d2f424..02ad782 100644 --- a/src/gpio/pin.rs +++ b/src/gpio/pin.rs @@ -527,7 +527,7 @@ impl InputPin { /// when `set_async_interrupt` is called, or when `InputPin` goes out of scope. /// /// [`clear_async_interrupt`]: #method.clear_async_interrupt - /// [`Event`]: enum.Event.html + /// [`Event`]: struct.Event.html pub fn set_async_interrupt( &mut self, trigger: Trigger,