summaryrefslogtreecommitdiffstats
path: root/src/ic.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-21 09:35:37 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-21 09:35:37 +0100
commit5485d9655e2ab3a6d04e5f69b246f5db4d2c5936 (patch)
tree84bb1e825656d4c523b65edc5d7780fbb060c8cc /src/ic.rs
parente4a1ac5a04d021ef026c559354e9913ae59864d8 (diff)
downloadads1x1x-async-5485d9655e2ab3a6d04e5f69b246f5db4d2c5936.tar.gz
ads1x1x-async-5485d9655e2ab3a6d04e5f69b246f5db4d2c5936.tar.xz
ads1x1x-async-5485d9655e2ab3a6d04e5f69b246f5db4d2c5936.zip
Code formatting
Diffstat (limited to 'src/ic.rs')
-rw-r--r--src/ic.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ic.rs b/src/ic.rs
index a09cb72..4ed42d9 100644
--- a/src/ic.rs
+++ b/src/ic.rs
@@ -1,9 +1,8 @@
/// ICs
use private;
-pub struct Resolution12Bit(pub(crate)());
-pub struct Resolution16Bit(pub(crate)());
-
+pub struct Resolution12Bit(pub(crate) ());
+pub struct Resolution16Bit(pub(crate) ());
macro_rules! ic_marker {
($name:ident) => {
@@ -19,12 +18,12 @@ ic_marker!(Ads1114);
ic_marker!(Ads1015);
ic_marker!(Ads1115);
-pub trait Tier2Features : private::Sealed { }
+pub trait Tier2Features: private::Sealed {}
macro_rules! tier2_features {
($name:ident) => {
impl Tier2Features for $name {}
- }
+ };
}
tier2_features!(Ads1014);