remove extra conditions

This commit is contained in:
yggverse 2024-12-03 19:42:13 +02:00
parent f08ae77b7c
commit b4d9686db5
3 changed files with 13 additions and 27 deletions

View file

@ -19,9 +19,8 @@ impl Quote {
);
// Extract formatted value
let value = regex.get(1)?.trim().to_string();
// Result
Some(Self { value })
Some(Self {
value: regex.get(1)?.trim().to_string(),
})
}
}