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
|
self.font_cache
|
||||||
.entry(id)
|
.entry(id)
|
||||||
.or_insert_with(|| {
|
.or_insert_with(|| {
|
||||||
|
#[cfg(feature = "std")]
|
||||||
unsafe {
|
unsafe {
|
||||||
#[cfg(feature = "std")]
|
|
||||||
self.db.make_shared_face_data(id);
|
self.db.make_shared_face_data(id);
|
||||||
}
|
}
|
||||||
let face = self.db.face(id)?;
|
let face = self.db.face(id)?;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue