Skip to content

Commit b468652

Browse files
committed
fix doc links
1 parent cfe6026 commit b468652

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
//! [README]: https://github.com/stm32-rs/stm32f1xx-hal/tree/v0.7.0
8585
8686
#![no_std]
87-
#![deny(broken_intra_doc_links)]
87+
#![deny(rustdoc::broken_intra_doc_links)]
8888

8989
// If no target specified, print error message.
9090
#[cfg(not(any(

src/timer/pwm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
Then call the `pwm` function on the corresponding timer.
3737
3838
NOTE: In some cases you need to specify remap you need, especially for TIM2
39-
(see [Alternate function remapping](super::timer)):
39+
(see [Alternate function remapping](super)):
4040
4141
```
4242
let device: pac::Peripherals = ..;

src/usb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! USB peripheral
22
//!
33
//! Requires the `stm32-usbd` feature.
4-
//! See https://github.com/stm32-rs/stm32f1xx-hal/tree/master/examples
4+
//! See [https://github.com/stm32-rs/stm32f1xx-hal/tree/master/examples]
55
//! for usage examples.
66
77
use crate::pac::{RCC, USB};

0 commit comments

Comments
 (0)