mirror of
https://gitlab.cern.ch/wotsubo/endcap-sl-software-ri-generator.git
synced 2025-02-23 09:07:07 +09:00
refactor: create mod parse_prefixed_u32
This commit is contained in:
parent
1b93197ef6
commit
371068e363
1 changed files with 42 additions and 37 deletions
|
@ -1,5 +1,9 @@
|
|||
//! 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 thiserror::Error;
|
||||
|
@ -45,3 +49,4 @@ mod test {
|
|||
assert!("0abcde".parse_prefixed_u32().is_err());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue