Skip to content

Commit f25285c

Browse files
authored
Minor doc updates to match i2cdev version
The i2cdev links are out of date compared to Cargo.toml
1 parent 0c1a0bb commit f25285c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl embedded_hal::blocking::delay::DelayMs<u64> for Delay {
141141

142142
/// Newtype around [`i2cdev::linux::LinuxI2CDevice`] that implements the `embedded-hal` traits
143143
///
144-
/// [`i2cdev::linux::LinuxI2CDevice`]: https://docs.rs/i2cdev/0.3.1/i2cdev/linux/struct.LinuxI2CDevice.html
144+
/// [`i2cdev::linux::LinuxI2CDevice`]: https://docs.rs/i2cdev/0.4.3/i2cdev/linux/struct.LinuxI2CDevice.html
145145
pub struct I2cdev {
146146
inner: i2cdev::linux::LinuxI2CDevice,
147147
path: PathBuf,
@@ -151,7 +151,7 @@ pub struct I2cdev {
151151
impl I2cdev {
152152
/// See [`i2cdev::linux::LinuxI2CDevice::new`][0] for details.
153153
///
154-
/// [0]: https://docs.rs/i2cdev/0.3.1/i2cdev/linux/struct.LinuxI2CDevice.html#method.new
154+
/// [0]: https://docs.rs/i2cdev/0.4.3/i2cdev/linux/struct.LinuxI2CDevice.html#method.new
155155
pub fn new<P>(path: P) -> Result<Self, i2cdev::linux::LinuxI2CError>
156156
where
157157
P: AsRef<Path>,

0 commit comments

Comments
 (0)