@@ -22,8 +22,8 @@ use crate::{pac, rcc};
2222pub mod traits;
2323use crate :: serial:: RxISR ;
2424use traits:: {
25- sealed:: { Bits , Sealed } ,
26- Channel , DMASet , Direction , Instance , PeriAddress , SafePeripheralRead , Stream , StreamISR ,
25+ sealed:: Bits , Channel , DMASet , Direction , Instance , PeriAddress , SafePeripheralRead , Stream ,
26+ StreamISR ,
2727} ;
2828
2929/// Errors.
@@ -241,14 +241,14 @@ pub type Stream6<DMA> = StreamX<DMA, 6>;
241241/// Stream 7 on the DMA controller.
242242pub type Stream7 < DMA > = StreamX < DMA , 7 > ;
243243
244- impl < DMA > Sealed for StreamX < DMA , 0 > { }
245- impl < DMA > Sealed for StreamX < DMA , 1 > { }
246- impl < DMA > Sealed for StreamX < DMA , 2 > { }
247- impl < DMA > Sealed for StreamX < DMA , 3 > { }
248- impl < DMA > Sealed for StreamX < DMA , 4 > { }
249- impl < DMA > Sealed for StreamX < DMA , 5 > { }
250- impl < DMA > Sealed for StreamX < DMA , 6 > { }
251- impl < DMA > Sealed for StreamX < DMA , 7 > { }
244+ impl < DMA > crate :: Sealed for StreamX < DMA , 0 > { }
245+ impl < DMA > crate :: Sealed for StreamX < DMA , 1 > { }
246+ impl < DMA > crate :: Sealed for StreamX < DMA , 2 > { }
247+ impl < DMA > crate :: Sealed for StreamX < DMA , 3 > { }
248+ impl < DMA > crate :: Sealed for StreamX < DMA , 4 > { }
249+ impl < DMA > crate :: Sealed for StreamX < DMA , 5 > { }
250+ impl < DMA > crate :: Sealed for StreamX < DMA , 6 > { }
251+ impl < DMA > crate :: Sealed for StreamX < DMA , 7 > { }
252252
253253/// Alias for a tuple with all DMA streams.
254254pub struct StreamsTuple < DMA > (
@@ -284,7 +284,7 @@ impl<DMA: rcc::Enable + rcc::Reset> StreamsTuple<DMA> {
284284
285285impl < I : Instance , const S : u8 > Stream for StreamX < I , S >
286286where
287- Self : Sealed + StreamISR ,
287+ Self : crate :: Sealed + StreamISR ,
288288{
289289 const NUMBER : usize = S as usize ;
290290
@@ -523,7 +523,7 @@ macro_rules! dma_stream {
523523 $feif: ident, $isr: ident, $tcisr: ident, $htisr: ident, $teisr: ident, $feisr: ident, $dmeisr: ident) ) ,+
524524 $( , ) * ) => {
525525 $(
526- impl <I : Instance > StreamISR for StreamX <I , $number> where Self : Sealed {
526+ impl <I : Instance > StreamISR for StreamX <I , $number> where Self : crate :: Sealed {
527527
528528 #[ inline( always) ]
529529 fn clear_interrupts( & mut self ) {
0 commit comments