cargo fix

This commit is contained in:
Chris Cochrun 2025-05-01 09:44:35 -05:00
parent e6621072cd
commit 8cf2d48a16
14 changed files with 85 additions and 115 deletions

View file

@ -9,7 +9,7 @@ use cosmic::{
prelude::*,
widget::{container, responsive, svg::Handle, Svg},
};
use tracing::{debug, error};
use tracing::error;
use crate::TextAlignment;
@ -61,11 +61,11 @@ impl Font {
}
pub fn get_weight(&self) -> Weight {
self.weight.clone()
self.weight
}
pub fn get_style(&self) -> Style {
self.style.clone()
self.style
}
pub fn weight(mut self, weight: impl Into<Weight>) -> Self {