Skip to content

Commit a520454

Browse files
committed
rename types -> errors
1 parent 4b29f6d commit a520454

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

File renamed without changes.

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,13 @@
158158
//! assert_eq!(bar_dec, bar);
159159
//! # Ok::<(), Box<dyn std::error::Error>>(())
160160
//! ```
161-
pub mod types;
161+
pub mod error;
162162
use std::{
163163
any::type_name,
164164
net::{Ipv4Addr, Ipv6Addr},
165165
};
166166

167-
pub use crate::types::{EncodingError, EncodingErrorKind};
167+
pub use crate::error::{EncodingError, EncodingErrorKind};
168168

169169
/// indicates a variable width unsigned integer fits in u16
170170
pub const U16_SIGNIFIER: u8 = 0xfd;

0 commit comments

Comments
 (0)