chore: removes clippy warning with rust 1.89 (#609)
parent
19d65a5aa4
commit
a387d727b2
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue