diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-03-19 21:23:03 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-03-19 21:23:03 +0100 |
| commit | 898dc38ec153709929d2513fb9d040dd2c1ce0fe (patch) | |
| tree | 11742165476f2c2595df91841808de3567b7c876 /src/geom/point.rs | |
| parent | 264a7dedd42e27cd9e604037640cf0594b2ec46b (diff) | |
Better debug representations 💻
Diffstat (limited to 'src/geom/point.rs')
| -rw-r--r-- | src/geom/point.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geom/point.rs b/src/geom/point.rs index 0faa781c..cf8bc1a9 100644 --- a/src/geom/point.rs +++ b/src/geom/point.rs @@ -55,7 +55,7 @@ impl Switch for Point { impl Debug for Point { fn fmt(&self, f: &mut Formatter) -> fmt::Result { - write!(f, "({}, {})", self.x, self.y) + write!(f, "Point({:?}, {:?})", self.x, self.y) } } |
