mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/block/mod.rs')
-rw-r--r--src/block/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/mod.rs b/src/block/mod.rs
index 3699c41..df37940 100644
--- a/src/block/mod.rs
+++ b/src/block/mod.rs
@@ -62,7 +62,7 @@ impl fmt::Display for DeserializeError
{
match self
{
- Self::InvalidType{have, expect} => write!(f, "Expected type {expect:?} but got {have:?}"),
+ Self::InvalidType{have, expect} => write!(f, "expected type {expect:?} but got {have:?}"),
Self::Custom(e) => e.fmt(f),
}
}
@@ -305,7 +305,7 @@ impl<'l> fmt::Display for RegisterError<'l>
{
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result
{
- write!(f, "Block {:?} already exists", self.0.get_name())
+ write!(f, "block {:?} already exists", self.0.get_name())
}
}