diff --git a/src/util/dwarf.rs b/src/util/dwarf.rs index fb21f21..fa7e1c7 100644 --- a/src/util/dwarf.rs +++ b/src/util/dwarf.rs @@ -1137,8 +1137,8 @@ pub fn struct_def_string( t: &StructureType, ) -> Result { 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)?;