Skip to content

Commit d1d597f

Browse files
committed
don't re-export error module
1 parent a7f67ac commit d1d597f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
//! assert_eq!(bar_dec, bar);
160160
//! # Ok::<(), Box<dyn std::error::Error>>(())
161161
//! ```
162-
pub mod error;
162+
mod error;
163163
mod fixedwidth;
164164
pub use fixedwidth::{FixedWidthEncoding, FixedWidthU32, FixedWidthU64, FixedWidthUint};
165165
use std::{

tests/encodable.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
use compact_encoding::{
2-
create_buffer, error::EncodingError, map_decode, map_encode, CompactEncoding,
3-
};
1+
use compact_encoding::{create_buffer, map_decode, map_encode, CompactEncoding, EncodingError};
42

53
// The max value for 1 byte length is 252
64
const MAX_ONE_BYTE_UINT: u8 = 252;

0 commit comments

Comments
 (0)