mirror of
https://github.com/encounter/decomp-toolkit.git
synced 2025-12-10 22:17:53 +00:00
@@ -1137,8 +1137,8 @@ pub fn struct_def_string(
|
||||
t: &StructureType,
|
||||
) -> Result<String> {
|
||||
let mut out = match t.kind {
|
||||
StructureKind::Struct => "class".to_string(),
|
||||
StructureKind::Class => "struct".to_string(),
|
||||
StructureKind::Struct => "struct".to_string(),
|
||||
StructureKind::Class => "class".to_string(),
|
||||
};
|
||||
if let Some(name) = t.name.as_ref() {
|
||||
write!(out, " {}", name)?;
|
||||
|
||||
Reference in New Issue
Block a user