From 7753d175f381fc0f19498b8b3aa497b886358dd4 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 21 Nov 2018 09:00:57 +0100 Subject: Rename error type --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index b665109..7e829be 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -212,7 +212,7 @@ use core::marker::PhantomData; #[derive(Debug)] pub enum Error { /// I²C bus error - Comm(E), + I2C(E), /// Invalid input data provided InvalidInputData, /// Continuous measurement was not started -- cgit v1.2.3-54-g00ecf