Fix typo in error message

This commit is contained in:
Sam Gibson 2015-12-02 12:13:11 +11:00
parent 32627a475a
commit 85b99f8ba4

View file

@ -609,7 +609,7 @@ impl VirtualMethods for HTMLInputElement {
self.textinput.borrow_mut().max_length = Some(value as usize)
}
},
_ => panic!("Expected an AttrValue::UInt"),
_ => panic!("Expected an AttrValue::Int"),
}
}
&atom!("placeholder") => {