Remove commented line
This commit is contained in:
parent
46d3d94fbb
commit
846fef1d36
|
@ -100,7 +100,6 @@ impl FromStr for Origin {
|
||||||
if input.to_lowercase() == "null" {
|
if input.to_lowercase() == "null" {
|
||||||
Ok(Origin::Null)
|
Ok(Origin::Null)
|
||||||
} else {
|
} else {
|
||||||
// Ok(Origin::Parsed(crate::to_origin(input)?))
|
|
||||||
match crate::to_origin(input)? {
|
match crate::to_origin(input)? {
|
||||||
url::Origin::Opaque(_) => Ok(Origin::Opaque(input.to_string())),
|
url::Origin::Opaque(_) => Ok(Origin::Opaque(input.to_string())),
|
||||||
parsed @ url::Origin::Tuple(..) => Ok(Origin::Parsed(parsed)),
|
parsed @ url::Origin::Tuple(..) => Ok(Origin::Parsed(parsed)),
|
||||||
|
|
Loading…
Reference in New Issue