Use Display instead of Debug for rbx_xml errors now

This commit is contained in:
Lucien Greathouse
2019-05-14 17:55:18 -07:00
parent 28ea625b01
commit 8395782a2e

View File

@@ -153,7 +153,7 @@ impl fmt::Display for SnapshotError {
write!(output, "Malformed .model.json model: {} in path {}", inner, path.display())
},
SnapshotError::XmlModelDecodeError { inner, path } => {
write!(output, "Malformed rbxmx model: {:?} in path {}", inner, path.display())
write!(output, "Malformed rbxmx model: {} in path {}", inner, path.display())
},
SnapshotError::BinaryModelDecodeError { inner, path } => {
write!(output, "Malformed rbxm model: {:?} in path {}", inner, path.display())