fix(navmesh): NavvertexIndex debug output should state what it is

This commit is contained in:
Ellen Emilia Anna Zscheile 2025-02-02 22:30:37 +01:00
parent f2969decd0
commit 869d63f7c0
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ pub struct NavvertexIndex(NodeIndex<usize>);
impl core::fmt::Debug for NavvertexIndex { impl core::fmt::Debug for NavvertexIndex {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { 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())
} }
} }