Skip to content

Commit 87a5878

Browse files
committed
Have AnyRustValue actually format with its own Debug impl
1 parent 3495b04 commit 87a5878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/pyobject.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,7 @@ impl fmt::Debug for PyObjectPayload {
15621562
PyObjectPayload::Instance { .. } => write!(f, "instance"),
15631563
PyObjectPayload::RustFunction { .. } => write!(f, "rust function"),
15641564
PyObjectPayload::Frame { .. } => write!(f, "frame"),
1565-
PyObjectPayload::AnyRustValue { .. } => write!(f, "some rust value"),
1565+
PyObjectPayload::AnyRustValue { value } => value.fmt(f),
15661566
}
15671567
}
15681568
}

0 commit comments

Comments
 (0)