From f25285c18cf673861c4386086b2b95ff2ccd9cda Mon Sep 17 00:00:00 2001 From: Sean Gallagher Date: Sat, 26 Jun 2021 08:06:26 -0400 Subject: [PATCH] Minor doc updates to match i2cdev version The i2cdev links are out of date compared to Cargo.toml --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f03c925..d39c2e9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -141,7 +141,7 @@ impl embedded_hal::blocking::delay::DelayMs for Delay { /// Newtype around [`i2cdev::linux::LinuxI2CDevice`] that implements the `embedded-hal` traits /// -/// [`i2cdev::linux::LinuxI2CDevice`]: https://docs.rs/i2cdev/0.3.1/i2cdev/linux/struct.LinuxI2CDevice.html +/// [`i2cdev::linux::LinuxI2CDevice`]: https://docs.rs/i2cdev/0.4.3/i2cdev/linux/struct.LinuxI2CDevice.html pub struct I2cdev { inner: i2cdev::linux::LinuxI2CDevice, path: PathBuf, @@ -151,7 +151,7 @@ pub struct I2cdev { impl I2cdev { /// See [`i2cdev::linux::LinuxI2CDevice::new`][0] for details. /// - /// [0]: https://docs.rs/i2cdev/0.3.1/i2cdev/linux/struct.LinuxI2CDevice.html#method.new + /// [0]: https://docs.rs/i2cdev/0.4.3/i2cdev/linux/struct.LinuxI2CDevice.html#method.new pub fn new

(path: P) -> Result where P: AsRef,