Remove unused field in FontAtlasSet (#8639)

# Objective

- Fulfill TODO about unused member from `FontAtlasSet`

## Solution

- Removed field `queue: Vec<FontSizeKey>` from `FontAtlasSet`
This commit is contained in:
lelo 2023-05-19 14:55:12 -04:00 committed by GitHub
parent b4e7f0899a
commit e8a694fc35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,9 +14,6 @@ type FontSizeKey = FloatOrd;
#[uuid = "73ba778b-b6b5-4f45-982d-d21b6b86ace2"]
pub struct FontAtlasSet {
font_atlases: HashMap<FontSizeKey, Vec<FontAtlas>>,
// TODO unused, remove
#[allow(dead_code)]
queue: Vec<FontSizeKey>,
}
#[derive(Debug, Clone)]
@ -29,7 +26,6 @@ impl Default for FontAtlasSet {
fn default() -> Self {
FontAtlasSet {
font_atlases: HashMap::with_capacity_and_hasher(1, Default::default()),
queue: Vec::new(),
}
}
}