mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
clippy fix
This commit is contained in:
@@ -208,10 +208,10 @@ impl TextShape {
|
||||
}
|
||||
}
|
||||
|
||||
impl Into<Shape> for TextShape {
|
||||
impl From<TextShape> for Shape {
|
||||
#[inline(always)]
|
||||
fn into(self) -> Shape {
|
||||
Shape::Text(self)
|
||||
fn from(text_shape: TextShape) -> Self {
|
||||
Self::Text(text_shape)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user