Fix a stupid copy/paste syntax error.
This commit is contained in:
parent
fc7a0517d3
commit
b8b0494c19
5 changed files with 5 additions and 5 deletions
|
|
@ -53,7 +53,7 @@ pub struct DataForm {
|
|||
|
||||
pub fn parse_data_form(root: &Element) -> Result<DataForm, Error> {
|
||||
if !root.is("x", DATA_FORMS_NS) {
|
||||
return Err(Error::ParseError("This is not a data form element.")),
|
||||
return Err(Error::ParseError("This is not a data form element."));
|
||||
}
|
||||
|
||||
let type_: DataFormType = match root.attr("type") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue