mirror of
https://github.com/emilk/egui.git
synced 2026-07-13 01:58:53 +00:00
Please the linter
This commit is contained in:
@@ -409,6 +409,7 @@ impl FontDefinitions {
|
||||
pub(crate) struct FontFaceKey(pub u64);
|
||||
|
||||
static KEY_COUNTER: AtomicU64 = AtomicU64::new(1);
|
||||
|
||||
impl FontFaceKey {
|
||||
fn new() -> Self {
|
||||
Self(KEY_COUNTER.fetch_add(1, Ordering::Relaxed))
|
||||
|
||||
Reference in New Issue
Block a user