Skip to content

Commit

Permalink
Add support for character::*::[iu]size parsers (rust-bakery#1762)
Browse files Browse the repository at this point in the history
Co-authored-by: Geoffroy Couprie <[email protected]>
  • Loading branch information
AMDmi3 and Geal authored Dec 8, 2024
1 parent ebb9e47 commit 9745930
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/character/complete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ macro_rules! ints {
}
}

ints! { i8 i16 i32 i64 i128 }
ints! { i8 i16 i32 i64 i128 isize }

#[doc(hidden)]
macro_rules! uints {
Expand Down Expand Up @@ -864,7 +864,7 @@ macro_rules! uints {
}
}

uints! { u8 u16 u32 u64 u128 }
uints! { u8 u16 u32 u64 u128 usize }

#[cfg(test)]
mod tests {
Expand Down
4 changes: 2 additions & 2 deletions src/character/streaming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ macro_rules! ints {
}
}

ints! { i8 i16 i32 i64 i128 }
ints! { i8 i16 i32 i64 i128 isize }

#[doc(hidden)]
macro_rules! uints {
Expand Down Expand Up @@ -761,7 +761,7 @@ macro_rules! uints {
}
}

uints! { u8 u16 u32 u64 u128 }
uints! { u8 u16 u32 u64 u128 usize }

#[cfg(test)]
mod tests {
Expand Down

0 comments on commit 9745930

Please sign in to comment.