aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlanchorelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlanchorelement.rs')
-rw-r--r--components/script/dom/htmlanchorelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlanchorelement.rs b/components/script/dom/htmlanchorelement.rs
index e6583329880..bd9a526cd16 100644
--- a/components/script/dom/htmlanchorelement.rs
+++ b/components/script/dom/htmlanchorelement.rs
@@ -427,7 +427,7 @@ impl HTMLAnchorElementMethods for HTMLAnchorElement {
if url.host().is_none() || url.cannot_be_a_base() || url.scheme() == "file" =>
{
return;
- }
+ },
None => return,
// Step 4.
Some(url) => {