summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-11 07:49:38 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-11 07:49:38 +0100
commitf28b8e1379f5a2c2f0283a280c58fef61629f1f6 (patch)
tree465c99e233d187f9afac2963a329b661d6fb9abf /tests
parentf0e168b030a0fa3155a729a8412cc4ad74e39cad (diff)
downloadads1x1x-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.rs1
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 }