aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Gibson <sam@ifdown.net>2015-12-02 12:13:11 +1100
committerSam Gibson <sam@ifdown.net>2015-12-03 14:00:56 +1100
commit85b99f8ba45d0330b1d4a57161cf97c8b02b9dcd (patch)
tree61d42ec9480fc591c84327d026b3a4ae46ff0df3
parent32627a475a17f8dd5c0e213de189f16de01ef835 (diff)
downloadservo-85b99f8ba45d0330b1d4a57161cf97c8b02b9dcd.tar.gz
servo-85b99f8ba45d0330b1d4a57161cf97c8b02b9dcd.zip
Fix typo in error message
-rw-r--r--components/script/dom/htmlinputelement.rs2
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") => {