Skip to content

Commit

Permalink
Don't clone a copy type
Browse files Browse the repository at this point in the history
  • Loading branch information
nathansobo committed May 27, 2024
1 parent 8c95f6f commit c11ca74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/theme/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ impl settings::Settings for ThemeSettings {
ui_font: Font {
family: defaults.ui_font_family.clone().unwrap().into(),
features: defaults.ui_font_features.clone().unwrap(),
weight: defaults.ui_font_weight.clone().map(FontWeight).unwrap(),
weight: defaults.ui_font_weight.map(FontWeight).unwrap(),
style: Default::default(),
},
buffer_font: Font {
Expand Down

0 comments on commit c11ca74

Please sign in to comment.