aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlanchorelement.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2021-09-07 01:44:56 -0400
committerJosh Matthews <josh@joshmatthews.net>2021-11-01 08:46:18 -0400
commit01681e79c47ebfc45eaca18b79846e4fbe16a959 (patch)
tree0a26cddd57635e960e97da9ab7c7b57f23e9c423 /components/script/dom/htmlanchorelement.rs
parent74f1eb199e67e82ff713f77f7803f02a25966628 (diff)
downloadservo-01681e79c47ebfc45eaca18b79846e4fbe16a959.tar.gz
servo-01681e79c47ebfc45eaca18b79846e4fbe16a959.zip
Update nightly rustc.
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) => {