From 85b99f8ba45d0330b1d4a57161cf97c8b02b9dcd Mon Sep 17 00:00:00 2001 From: Sam Gibson Date: Wed, 2 Dec 2015 12:13:11 +1100 Subject: [PATCH] Fix typo in error message --- components/script/dom/htmlinputelement.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") => {