clippy fix
This commit is contained in:
parent
d9f3596475
commit
92503ea9e1
1 changed files with 3 additions and 3 deletions
|
@ -208,10 +208,10 @@ impl TextShape {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Into<Shape> for TextShape {
|
impl From<TextShape> for Shape {
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn into(self) -> Shape {
|
fn from(text_shape: TextShape) -> Self {
|
||||||
Shape::Text(self)
|
Self::Text(text_shape)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue