Fix a stupid copy/paste syntax error.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-20 00:14:29 +01:00
commit b8b0494c19
5 changed files with 5 additions and 5 deletions

View file

@ -210,7 +210,7 @@ pub struct Jingle {
pub fn parse_jingle(root: &Element) -> Result<Jingle, Error> {
if !root.is("jingle", JINGLE_NS) {
return Err(Error::ParseError("This is not a Jingle element.")),
return Err(Error::ParseError("This is not a Jingle element."));
}
let mut contents: Vec<Content> = vec!();