From 15634b6500f33e47eddfe46a09f9c3537f4cc4b0 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 23 Apr 2017 03:45:14 +0100 Subject: [PATCH] ping: Remove extraneous brackets. --- src/ping.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ping.rs b/src/ping.rs index 2fb3e5cc..a8c94c50 100644 --- a/src/ping.rs +++ b/src/ping.rs @@ -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 { if !root.is("ping", ns::PING) {