added clippy suggestions
This commit is contained in:
parent
f554de853b
commit
f13c5f024e
2 changed files with 4 additions and 4 deletions
|
@ -87,7 +87,7 @@ impl InnerAtlas {
|
|||
// Find a glyph with an actual size
|
||||
while value.atlas_id.is_none() {
|
||||
// All sized glyphs are in use, cache is full
|
||||
if self.glyphs_in_use.contains(&key) {
|
||||
if self.glyphs_in_use.contains(key) {
|
||||
return None;
|
||||
}
|
||||
|
||||
|
@ -97,7 +97,7 @@ impl InnerAtlas {
|
|||
}
|
||||
|
||||
// All sized glyphs are in use, cache is full
|
||||
if self.glyphs_in_use.contains(&key) {
|
||||
if self.glyphs_in_use.contains(key) {
|
||||
return None;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue