mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 05:20:28 +08:00
perf: suppress clippy warning for unwrap usage in PROFILE_FILE_RE initialization
This commit is contained in:
parent
a07069e7ea
commit
beb01729da
@ -501,6 +501,7 @@ impl IProfiles {
|
|||||||
// p12345678.yaml (proxies)
|
// p12345678.yaml (proxies)
|
||||||
// g12345678.yaml (groups)
|
// g12345678.yaml (groups)
|
||||||
|
|
||||||
|
#[allow(clippy::unwrap_used)]
|
||||||
PROFILE_FILE_RE
|
PROFILE_FILE_RE
|
||||||
.get_or_init(|| {
|
.get_or_init(|| {
|
||||||
regex::Regex::new(
|
regex::Regex::new(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user