Fix warnings.

This commit is contained in:
Josh Matthews 2022-01-03 13:05:19 -05:00
parent e87bbb093a
commit 08ff81b09a
4 changed files with 5 additions and 7 deletions

View file

@ -6,13 +6,13 @@ use malloc_size_of::{MallocSizeOf, MallocSizeOfOps};
#[derive(Clone, Debug)]
pub struct FontContextHandle {
ctx: (),
_ctx: (),
}
impl FontContextHandle {
// this is a placeholder until NSFontManager or whatever is bound in here.
pub fn new() -> FontContextHandle {
FontContextHandle { ctx: () }
FontContextHandle { _ctx: () }
}
}