From 914a0e7faf0f7ea20fae48ba22ece4e60806eee6 Mon Sep 17 00:00:00 2001 From: Rene van der Meer <9930578+golemparts@users.noreply.github.com> Date: Sun, 11 Aug 2024 09:07:48 +0200 Subject: [PATCH] Update documentation --- src/gpio.rs | 2 +- src/gpio/pin.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,