Fix all warnings issued by cargo clippy.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-21 01:28:58 +01:00
commit 3209b04a50
4 changed files with 16 additions and 16 deletions

View file

@ -308,14 +308,14 @@ pub fn parse_jingle(root: &Element) -> Result<Jingle, Error> {
}
}
return Ok(Jingle {
Ok(Jingle {
action: action,
initiator: initiator,
responder: responder,
sid: sid.to_owned(),
contents: contents,
reason: reason_element,
});
})
}
#[cfg(test)]