Skip to content

Commit

Permalink
Merge pull request #436 from vsbogd/show-space-identity
Browse files Browse the repository at this point in the history
Tiny: Display pointer to GroundingSpace to distinguish different spaces
  • Loading branch information
luketpeterson authored Sep 15, 2023
2 parents e47603f + 1fb6ee8 commit 95f742a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/space/grounding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,13 @@ impl PartialEq for GroundingSpace {

impl Debug for GroundingSpace {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "GroundingSpace")
write!(f, "GroundingSpace-{self:p}")
}
}

impl Display for GroundingSpace {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "GroundingSpace")
write!(f, "GroundingSpace-{self:p}")
}
}

Expand Down

0 comments on commit 95f742a

Please sign in to comment.