Skip to content

Commit

Permalink
happy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Nov 26, 2020
1 parent 81de0bc commit ecf82f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actors/symbolication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ impl SymCacheLookup {
return Some(SymCacheLookupResult {
module_index: entry.module_index,
object_info: &entry.object_info,
symcache: entry.symcache.as_ref().map(|x| &**x),
symcache: entry.symcache.as_deref(),
relative_addr: entry.object_info.abs_to_rel_addr(addr),
});
}
Expand All @@ -725,7 +725,7 @@ impl SymCacheLookup {
.map(|entry| SymCacheLookupResult {
module_index: entry.module_index,
object_info: &entry.object_info,
symcache: entry.symcache.as_ref().map(|x| &**x),
symcache: entry.symcache.as_deref(),
relative_addr: Some(addr),
}),
}
Expand Down

0 comments on commit ecf82f6

Please sign in to comment.