clippy: FlashKind: implement from instead of into

This commit is contained in:
Philippe Loctaux 2023-03-08 00:27:20 +01:00
parent 2d714f4220
commit 1fd7901037

View file

@ -22,8 +22,8 @@ impl Display for FlashKind {
} }
} }
impl Into<String> for FlashKind { impl From<FlashKind> for String {
fn into(self) -> String { fn from(value: FlashKind) -> Self {
self.to_string() value.to_string()
} }
} }