refactor: create mod parse_prefixed_u32

This commit is contained in:
Wataru Otsubo 2025-01-29 21:46:41 +09:00
parent 1b93197ef6
commit 371068e363

View file

@ -1,5 +1,9 @@
//! Module for converting XML custom token string to rust types. //! Module for converting XML custom token string to rust types.
pub(crate) use parse_prefixed_u32::ParsePrefixedU32;
pub use parse_prefixed_u32::ParsePrefixedU32Error;
mod parse_prefixed_u32 {
use std::num; use std::num;
use thiserror::Error; use thiserror::Error;
@ -45,3 +49,4 @@ mod test {
assert!("0abcde".parse_prefixed_u32().is_err()); assert!("0abcde".parse_prefixed_u32().is_err());
} }
} }
}