Skip to content

Commit

Permalink
now compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacholt100 committed Jan 6, 2025
1 parent 57801c6 commit 3c2bb41
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/buint/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,13 @@ impl<const N: usize> From<char> for BUintD8<N> {
}
}

use crate::{BTryFrom, BIntD8};

uint_try_from_uint!(BTryFrom; BUintD8; BUintD8<N>);
uint_try_from_int!(BTryFrom; BUintD8; BIntD8<N>);
int_try_from_uint!(BTryFrom; BIntD8; BUintD8<N>);
int_try_from_int!(BTryFrom; BIntD8; BIntD8<N>);

from_uint!(u8, u16, u32, u64, u128, usize);

try_from_iint!(i8 -> u8, i16 -> u16, i32 -> u32, isize -> usize, i64 -> u64, i128 -> u128);
Expand Down

0 comments on commit 3c2bb41

Please sign in to comment.