Skip to content

Commit 31956c1

Browse files
committed
mock: address warnings from non-pub type leakage
Signed-off-by: Paul Osborne <[email protected]>
1 parent 4a6dc36 commit 31956c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use core::I2CDevice;
99
use std::io;
1010

11-
type I2CResult<T> = io::Result<T>;
11+
pub type I2CResult<T> = io::Result<T>;
1212

1313
pub struct I2CRegisterMap {
1414
registers: [u8; 0xFF],

0 commit comments

Comments
 (0)