Fix all warnings issued by cargo clippy.
This commit is contained in:
parent
0da3d55e40
commit
3209b04a50
4 changed files with 16 additions and 16 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue