diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-11 07:49:38 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-11 07:49:38 +0100 |
commit | f28b8e1379f5a2c2f0283a280c58fef61629f1f6 (patch) | |
tree | 465c99e233d187f9afac2963a329b661d6fb9abf /tests | |
parent | f0e168b030a0fa3155a729a8412cc4ad74e39cad (diff) | |
download | ads1x1x-async-f28b8e1379f5a2c2f0283a280c58fef61629f1f6.tar.gz ads1x1x-async-f28b8e1379f5a2c2f0283a280c58fef61629f1f6.tar.xz ads1x1x-async-f28b8e1379f5a2c2f0283a280c58fef61629f1f6.zip |
Allow unused methods
Diffstat (limited to 'tests')
-rw-r--r-- | tests/common/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 695280e..ec63ec0 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -30,6 +30,7 @@ pub struct Config { pub bits: u16 } +#[allow(dead_code)] impl Config { pub fn with_high(&self, mask: u16) -> Self { Config { bits: self.bits | mask } |