mirror of https://codeberg.org/topola/topola.git
fix(navmesh): NavvertexIndex debug output should state what it is
This commit is contained in:
parent
f2969decd0
commit
869d63f7c0
|
|
@ -42,7 +42,7 @@ pub struct NavvertexIndex(NodeIndex<usize>);
|
|||
|
||||
impl core::fmt::Debug for NavvertexIndex {
|
||||
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
||||
core::fmt::Display::fmt(&self.0.index(), f)
|
||||
write!(f, "NavvertexIndex({})", self.0.index())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue