Use consistent formatting for trailing semicolons
Satisfies clippy::semicolon_if_nothing_returned
This commit is contained in:
parent
cc64ba99cf
commit
249cd707ee
1 changed files with 3 additions and 3 deletions
|
@ -376,7 +376,7 @@ impl Entity {
|
||||||
.as_str()
|
.as_str()
|
||||||
.ok_or(EntityError::ExpectedHashString)?
|
.ok_or(EntityError::ExpectedHashString)?
|
||||||
.to_string(),
|
.to_string(),
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
references
|
references
|
||||||
} else {
|
} else {
|
||||||
|
@ -799,7 +799,7 @@ impl ClaimValue {
|
||||||
// clone, meh
|
// clone, meh
|
||||||
let owned_snak = snak.clone().take();
|
let owned_snak = snak.clone().take();
|
||||||
if let Ok(x) = ClaimValueData::parse_snak(owned_snak) {
|
if let Ok(x) = ClaimValueData::parse_snak(owned_snak) {
|
||||||
claims.push((Pid(pid[1..].parse().ok()?), x))
|
claims.push((Pid(pid[1..].parse().ok()?), x));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -824,7 +824,7 @@ impl ClaimValue {
|
||||||
};
|
};
|
||||||
for claim in claim_array.drain(..) {
|
for claim in claim_array.drain(..) {
|
||||||
if let Ok(x) = ClaimValueData::parse_snak(claim) {
|
if let Ok(x) = ClaimValueData::parse_snak(claim) {
|
||||||
v.push((Pid(pid[1..].parse().ok()?), x))
|
v.push((Pid(pid[1..].parse().ok()?), x));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue