impl uDisplay for Decimal

This commit is contained in:
2025-07-18 21:19:30 +01:00
parent 39dcd647f2
commit 3cdd512e8b
2 changed files with 28 additions and 3 deletions

View File

@@ -32,8 +32,8 @@ pub struct StackCalc<F: FloatCore, const STACK: usize = 2, const DSIZE: usize =
}
#[cfg(feature = "ufmt")]
impl<F: FloatCore + ufmt::uDebug, const STACK: usize, const DSIZE: usize, EXP: ufmt::uDebug>
ufmt::uDebug for StackCalc<F, STACK, DSIZE, EXP>
impl<F: FloatCore, const STACK: usize, const DSIZE: usize, EXP: ufmt::uDebug> ufmt::uDebug
for StackCalc<F, STACK, DSIZE, EXP>
{
fn fmt<W>(&self, f: &mut ufmt::Formatter<'_, W>) -> Result<(), W::Error>
where