Fix a warning
This commit is contained in:
parent
7b289c945b
commit
2509fc21e2
1 changed files with 1 additions and 1 deletions
|
|
@ -100,8 +100,8 @@ impl FontSystem {
|
|||
self.font_cache
|
||||
.entry(id)
|
||||
.or_insert_with(|| {
|
||||
#[cfg(feature = "std")]
|
||||
unsafe {
|
||||
#[cfg(feature = "std")]
|
||||
self.db.make_shared_face_data(id);
|
||||
}
|
||||
let face = self.db.face(id)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue