aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlinputelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlinputelement.rs')
-rwxr-xr-xcomponents/script/dom/htmlinputelement.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs
index 041f060a735..ae42a3d3305 100755
--- a/components/script/dom/htmlinputelement.rs
+++ b/components/script/dom/htmlinputelement.rs
@@ -524,7 +524,7 @@ impl HTMLInputElement {
return Some(min);
}
}
- return self.default_minimum();
+ self.default_minimum()
}
// https://html.spec.whatwg.org/multipage#concept-input-max
@@ -538,7 +538,7 @@ impl HTMLInputElement {
return Some(max);
}
}
- return self.default_maximum();
+ self.default_maximum()
}
// when allowed_value_step and minumum both exist, this is the smallest
@@ -2789,7 +2789,7 @@ impl Activatable for HTMLInputElement {
},
_ => (),
}
- return None;
+ None
}
// https://dom.spec.whatwg.org/#eventtarget-legacy-canceled-activation-behavior