Don't make fonts::Features Copy

This commit is contained in:
Antonio Scandurra 2023-03-17 13:54:56 +01:00
parent 989c9f0196
commit 4d915f4530
13 changed files with 36 additions and 44 deletions

View file

@ -58,7 +58,7 @@ impl gpui::Element for TextElement {
let font_size = 12.;
let family = cx
.font_cache
.load_family(&["SF Pro Display"], Default::default())
.load_family(&["SF Pro Display"], &Default::default())
.unwrap();
let normal = RunStyle {
font_id: cx