Skip to content

Commit f2a1d92

Browse files
committed
dcb: dont import for intra-doc links
1 parent a9a6f55 commit f2a1d92

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/peripheral/dcb.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
use volatile_register::{RW, WO};
44

55
use crate::peripheral::DCB;
6-
#[allow(unused_imports)]
7-
use crate::peripheral::{DWT, ITM};
86
use core::ptr;
97

108
const DCB_DEMCR_TRCENA: u32 = 1 << 24;
@@ -24,7 +22,8 @@ pub struct RegisterBlock {
2422
}
2523

2624
impl DCB {
27-
/// Global enable for all [`DWT`] and [`ITM`] features.
25+
/// Global enable for all [`DWT`](crate::peripheral::DWT) and
26+
/// [`ITM`](crate::peripheral::ITM) features.
2827
///
2928
/// Note: vendor-specific registers may have to be set to completely
3029
/// enable tracing. For example, on the STM32F401RE, `TRACE_MODE`

0 commit comments

Comments
 (0)