Skip to content

Commit

Permalink
Fix typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
samfoo committed Dec 3, 2015
1 parent 32627a4 commit 85b99f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/dom/htmlinputelement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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") => {
Expand Down

0 comments on commit 85b99f8

Please sign in to comment.