From f28b8e1379f5a2c2f0283a280c58fef61629f1f6 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sun, 11 Nov 2018 07:49:38 +0100 Subject: Allow unused methods --- tests/common/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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 } -- cgit v1.2.3-54-g00ecf