We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c3b42a commit 0856ccbCopy full SHA for 0856ccb
1 file changed
src/lib.rs
@@ -403,8 +403,11 @@ impl<F> Display for IntoStackFutureError<F> {
403
404
impl<F> Debug for IntoStackFutureError<F> {
405
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
406
- // Forward to the Display implementation
407
- write!(f, "{self}")
+ f.debug_struct("IntoStackFutureError")
+ .field("maximum_size", &self.maximum_size)
408
+ .field("maximum_alignment", &self.maximum_alignment)
409
+ .field("future", &core::any::type_name::<F>())
410
+ .finish()
411
}
412
413
0 commit comments