We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18110bc commit 103f7b6Copy full SHA for 103f7b6
src/symbolize/gimli/macho.rs
@@ -34,12 +34,11 @@ impl Mapping {
34
// contains and try to find a macho file which has a matching UUID as
35
// the one of our own file. If we find a match that's the dwarf file we
36
// want to return.
37
- if let Some(uuid) = uuid {
38
- if let Some(parent) = path.parent() {
39
- if let Some(mapping) = Mapping::load_dsym(parent, uuid) {
40
- return Some(mapping);
41
- }
42
+ if let Some(uuid) = uuid
+ && let Some(parent) = path.parent()
+ && let Some(mapping) = Mapping::load_dsym(parent, uuid)
+ {
+ return Some(mapping);
43
}
44
45
// Looks like nothing matched our UUID, so let's at least return our own
0 commit comments