Skip to content

Commit aeb920c

Browse files
committed
Display pointer to GroundingSpace to distinguish different spaces
1 parent bb19975 commit aeb920c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/space/grounding.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -330,13 +330,13 @@ impl PartialEq for GroundingSpace {
330330

331331
impl Debug for GroundingSpace {
332332
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
333-
write!(f, "GroundingSpace")
333+
write!(f, "GroundingSpace-{:?}", self as *const GroundingSpace)
334334
}
335335
}
336336

337337
impl Display for GroundingSpace {
338338
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
339-
write!(f, "GroundingSpace")
339+
write!(f, "GroundingSpace-{:?}", self as *const GroundingSpace)
340340
}
341341
}
342342

0 commit comments

Comments
 (0)