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
|
|
@ -10,7 +10,7 @@ pub struct Ping {
|
|||
|
||||
pub fn parse_ping(root: &Element) -> Result<Ping, Error> {
|
||||
if !root.is("ping", PING_NS) {
|
||||
return Err(Error::ParseError("This is not a ping element.")),
|
||||
return Err(Error::ParseError("This is not a ping element."));
|
||||
}
|
||||
|
||||
for _ in root.children() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue