From 34227d8e1cf490ce77adfbd3b7d2ad04a873e4f7 Mon Sep 17 00:00:00 2001 From: Chris Denton Date: Tue, 3 Sep 2024 23:12:03 +0000 Subject: [PATCH] Fix elided_named_lifetimes warning --- src/symbolize/gimli/macho.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/symbolize/gimli/macho.rs b/src/symbolize/gimli/macho.rs index 7a4a4919..ef51f148 100644 --- a/src/symbolize/gimli/macho.rs +++ b/src/symbolize/gimli/macho.rs @@ -250,7 +250,7 @@ impl<'a> Object<'a> { /// Try to load a context for an object file. /// /// If dsymutil was not run, then the DWARF may be found in the source object files. - pub(super) fn search_object_map<'b>(&'b mut self, addr: u64) -> Option<(&Context<'b>, u64)> { + pub(super) fn search_object_map<'b>(&'b mut self, addr: u64) -> Option<(&'b Context<'b>, u64)> { // `object_map` contains a map from addresses to symbols and object paths. // Look up the address and get a mapping for the object. let object_map = self.object_map.as_ref()?;