mirror of
https://codeberg.org/icewind/ugc-scaper.git
synced 2026-06-04 02:34:11 +02:00
msrv fix
This commit is contained in:
parent
824634f737
commit
f08aad7370
2 changed files with 2 additions and 2 deletions
|
|
@ -594,7 +594,7 @@ impl FromStr for Region {
|
|||
type Err = InvalidRegion;
|
||||
|
||||
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
||||
let s = s.trim_matches(['*', '(', ')']);
|
||||
let s = s.trim_matches(['*', '(', ')'].as_slice());
|
||||
match s {
|
||||
"Euro" => Ok(Region::Europe),
|
||||
"Europe" => Ok(Region::Europe),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue