Skip to content

Commit bc3d0cb

Browse files
bors[bot]gszy
andauthored
Merge #37
37: Update the spidev documentation links r=ryankurte a=gszy 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). Co-authored-by: Grzegorz Szymaszek <[email protected]>
2 parents a653349 + 5c41d61 commit bc3d0cb

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)