Remove commented line

This commit is contained in:
Yong Wen Chua 2019-03-18 09:34:06 +08:00
parent 46d3d94fbb
commit 846fef1d36
No known key found for this signature in database
GPG Key ID: A70BD30B21497EA9
1 changed files with 0 additions and 1 deletions

View File

@ -100,7 +100,6 @@ impl FromStr for Origin {
if input.to_lowercase() == "null" {
Ok(Origin::Null)
} else {
// Ok(Origin::Parsed(crate::to_origin(input)?))
match crate::to_origin(input)? {
url::Origin::Opaque(_) => Ok(Origin::Opaque(input.to_string())),
parsed @ url::Origin::Tuple(..) => Ok(Origin::Parsed(parsed)),