From 8546577469c83093971bcbf7f994559b8a3dbeba Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sun, 28 Oct 2018 11:58:03 +0100 Subject: [PATCH] Allow unused code from common test module --- tests/ds3234.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ds3234.rs b/tests/ds3234.rs index 652c048..cc3631c 100644 --- a/tests/ds3234.rs +++ b/tests/ds3234.rs @@ -1,6 +1,7 @@ extern crate embedded_hal_mock as hal; extern crate ds323x; use ds323x::Ds323x; +#[allow(dead_code)] mod common; use common::DummyOutputPin; @@ -10,4 +11,3 @@ fn can_create_and_destroy() { let (mut spi, _cs) = dev.destroy_ds3234(); spi.done(); } - \ No newline at end of file