Fix clippy lint

This commit is contained in:
Olivier FAURE 2025-03-25 14:27:38 +01:00
parent e7d09105e2
commit f5a9ab394a
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ impl Gradient {
impl GradientShape {
pub fn get_peniko_kind_for_rect(&self, rect: Rect) -> crate::peniko::GradientKind {
match self {
GradientShape::Linear { angle } => Self::get_peniko_linear_for_rect(*angle, rect),
Self::Linear { angle } => Self::get_peniko_linear_for_rect(*angle, rect),
}
}