Skip to content

Commit 5c41d61

Browse files
committed
Update the spidev documentation links
There were two links in the doc comments (of the Spidev struct and the Spidev::open() method) that guided to the documentation of the old (0.3.0) version of the spidev crate. This patch updates those links to direct to the new version (0.4.0, the same as _this_ crate depends on).
1 parent a653349 commit 5c41d61

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
@@ -200,13 +200,13 @@ impl ops::DerefMut for I2cdev {
200200

201201
/// Newtype around [`spidev::Spidev`] that implements the `embedded-hal` traits
202202
///
203-
/// [`spidev::Spidev`]: https://docs.rs/spidev/0.3.0/spidev/struct.Spidev.html
203+
/// [`spidev::Spidev`]: https://docs.rs/spidev/0.4.0/spidev/struct.Spidev.html
204204
pub struct Spidev(pub spidev::Spidev);
205205

206206
impl Spidev {
207207
/// See [`spidev::Spidev::open`][0] for details.
208208
///
209-
/// [0]: https://docs.rs/spidev/0.3.0/spidev/struct.Spidev.html#method.open
209+
/// [0]: https://docs.rs/spidev/0.4.0/spidev/struct.Spidev.html#method.open
210210
pub fn open<P>(path: P) -> io::Result<Self>
211211
where
212212
P: AsRef<Path>,

0 commit comments

Comments
 (0)