mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
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:
parent
b4e7f0899a
commit
e8a694fc35
1 changed files with 0 additions and 4 deletions
|
@ -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(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue