mirror of
https://github.com/YGGverse/ggemtext.git
synced 2026-04-01 17:45:36 +00:00
remove extra conditions
This commit is contained in:
parent
f08ae77b7c
commit
b4d9686db5
3 changed files with 13 additions and 27 deletions
|
|
@ -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(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue