Issue #9042: Report incorrect number of spaces around => in the style checker.

This commit is contained in:
Simon Martin 2015-12-22 15:57:10 +01:00
parent 1ddcf9463a
commit cec661fa86
7 changed files with 48 additions and 38 deletions

View file

@ -468,7 +468,7 @@ pub enum FormSubmittableElement {
impl FormSubmittableElement {
fn as_event_target(&self) -> &EventTarget {
match *self {
FormSubmittableElement::ButtonElement(ref button) => button.r().upcast(),
FormSubmittableElement::ButtonElement(ref button) => button.r().upcast(),
FormSubmittableElement::InputElement(ref input) => input.r().upcast(),
FormSubmittableElement::ObjectElement(ref object) => object.r().upcast(),
FormSubmittableElement::SelectElement(ref select) => select.r().upcast(),