Style
This commit is contained in:
parent
e607d44aad
commit
2b0460acb4
@ -132,8 +132,7 @@ fn decode_inner(c: &str, full_url: bool) -> DecodeResult<String> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Only decode some characters if full_url:
|
// Only decode some characters if full_url:
|
||||||
match Vec::<u8>::from_hex(&bytes)
|
match Vec::<u8>::from_hex(&bytes).unwrap()[0] as char {
|
||||||
.unwrap()[0] as char {
|
|
||||||
// gen-delims:
|
// gen-delims:
|
||||||
':' |
|
':' |
|
||||||
'/' |
|
'/' |
|
||||||
|
Loading…
Reference in New Issue
Block a user