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