mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
ping: Remove extraneous brackets.
This commit is contained in:
parent
16a6ebd751
commit
15634b6500
1 changed files with 1 additions and 2 deletions
|
@ -5,8 +5,7 @@ use error::Error;
|
|||
use ns;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Ping {
|
||||
}
|
||||
pub struct Ping;
|
||||
|
||||
pub fn parse_ping(root: &Element) -> Result<Ping, Error> {
|
||||
if !root.is("ping", ns::PING) {
|
||||
|
|
Loading…
Reference in a new issue