chore: clippy

This commit is contained in:
Vukašin Vojinović 2026-04-25 17:34:56 +02:00 committed by Jeremy Soller
parent 56f0115952
commit a77aaa1904
3 changed files with 11 additions and 13 deletions

View file

@ -17,11 +17,11 @@ pub struct EnvVar {
pub value: String,
}
impl Into<EnvVar> for (&str, &str) {
fn into(self) -> EnvVar {
impl From<(&str, &str)> for EnvVar {
fn from(val: (&str, &str)) -> Self {
EnvVar {
key: self.0.to_owned(),
value: self.1.to_owned(),
key: val.0.to_owned(),
value: val.1.to_owned(),
}
}
}