Alice, […] > + > + const fn new(value: u32) -> Self { > + build_assert!(value as u64 <= c_ulong::MAX as u64); > + Self(value as c_ulong) > + } > +} Sanity check here, is this what you meant? — Daniel
Alice, […] > + > + const fn new(value: u32) -> Self { > + build_assert!(value as u64 <= c_ulong::MAX as u64); > + Self(value as c_ulong) > + } > +} Sanity check here, is this what you meant? — Daniel
![]() |