summaryrefslogtreecommitdiff
path: root/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2024-07-05 15:13:23 -0400
committerJosh Ferrell <josh@vector35.com>2024-07-05 15:26:40 -0400
commitebef0e0202e9d58907963d632549c2ca9bfa8ea5 (patch)
tree63b54a9695981482c9217fe5ffff103c0ade5238 /rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs
parent52dd0afc0dce16e454a37d73397359351d3f2064 (diff)
Misc small dwarf perf improvements
Diffstat (limited to 'rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs')
-rw-r--r--rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs b/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs
index 13030aa8..0e0e8f53 100644
--- a/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs
+++ b/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs
@@ -303,7 +303,7 @@ impl DebugInfoBuilder {
self.types.values()
}
- pub(crate) fn add_type(&mut self, type_uid: TypeUID, name: String, t: Ref<Type>, commit: bool) {
+ pub(crate) fn add_type(&mut self, type_uid: TypeUID, name: &String, t: Ref<Type>, commit: bool) {
if let Some(DebugType {
name: existing_name,
t: existing_type,