Merge branch 'main' into chore-release

pull/606/head
sigoden 2025-08-14 08:52:42 +08:00
commit 4316ad7caa
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ pub fn encode_uri(v: &str) -> String {
parts.join("/")
}
pub fn decode_uri(v: &str) -> Option<Cow<str>> {
pub fn decode_uri(v: &str) -> Option<Cow<'_, str>> {
percent_encoding::percent_decode(v.as_bytes())
.decode_utf8()
.ok()