ping: Remove extraneous brackets.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-23 03:45:14 +01:00
parent 16a6ebd751
commit 15634b6500

View file

@ -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) {