panic/foramt lint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-06-13 18:44:16 -07:00
parent ea30bc9ed4
commit 4cddc8571f
5 changed files with 10 additions and 10 deletions

View File

@@ -144,7 +144,7 @@ impl Index<usize> for Vec3 {
0 => &self.x,
1 => &self.y,
2 => &self.z,
_ => panic!(format!("idx {} out of range for vec3", idx)),
_ => panic!("idx {} out of range for vec3", idx),
}
}
}