From 03e6af8cb925bd7c9da8c849ad9998eee71c80b3 Mon Sep 17 00:00:00 2001 From: Thinkofname Date: Sat, 16 Apr 2016 21:43:41 +0100 Subject: [PATCH] Fix a large number of warnings --- protocol/src/protocol/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/src/protocol/mod.rs b/protocol/src/protocol/mod.rs index fd86e6d..c831552 100644 --- a/protocol/src/protocol/mod.rs +++ b/protocol/src/protocol/mod.rs @@ -234,7 +234,7 @@ impl Serializable for () { fn read_from(_: &mut R) -> Result<(), Error> { Result::Ok(()) } - fn write_to(&self, buf: &mut W) -> Result<(), Error> { + fn write_to(&self, _: &mut W) -> Result<(), Error> { Result::Ok(()) } }