Skip to content

Commit f47d625

Browse files
committed
Consolidate imports
1 parent 375e845 commit f47d625

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/adc.rs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
//! # Analog to Digital converter
2-
use crate::gpio::*;
3-
use crate::hal::adc::{Channel, OneShot};
4-
use crate::pac::ADC;
5-
use crate::rcc::Rcc;
2+
3+
4+
use crate::{
5+
gpio::*,
6+
hal::adc::{Channel, OneShot},
7+
pac::ADC,
8+
rcc::Rcc,
9+
};
10+
611

712
/// ADC Result Alignment
813
#[derive(PartialEq)]

0 commit comments

Comments
 (0)