diff --git a/save/src/protos.rs b/save/src/protos.rs index fa03540a..d05816b8 100644 --- a/save/src/protos.rs +++ b/save/src/protos.rs @@ -48,8 +48,8 @@ impl ComponentType { /// (if the ProtoBuf definition does not change) and safe for programmatic use. pub fn as_str_name(&self) -> &'static str { match self { - ComponentType::Position => "POSITION", - ComponentType::Name => "NAME", + Self::Position => "POSITION", + Self::Name => "NAME", } } /// Creates an enum from field names used in the ProtoBuf definition.