diff options
author | Sam Gibson <sam@ifdown.net> | 2015-12-02 12:13:11 +1100 |
---|---|---|
committer | Sam Gibson <sam@ifdown.net> | 2015-12-03 14:00:56 +1100 |
commit | 85b99f8ba45d0330b1d4a57161cf97c8b02b9dcd (patch) | |
tree | 61d42ec9480fc591c84327d026b3a4ae46ff0df3 /components/script | |
parent | 32627a475a17f8dd5c0e213de189f16de01ef835 (diff) | |
download | servo-85b99f8ba45d0330b1d4a57161cf97c8b02b9dcd.tar.gz servo-85b99f8ba45d0330b1d4a57161cf97c8b02b9dcd.zip |
Fix typo in error message
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/dom/htmlinputelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs index 4ce74d29cde..be02f62314b 100644 --- a/components/script/dom/htmlinputelement.rs +++ b/components/script/dom/htmlinputelement.rs @@ -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") => { |