From 5081ac7c08863f59bea890f8f9e6f794cf6c49e9 Mon Sep 17 00:00:00 2001 From: Ty Overby Date: Wed, 7 Feb 2018 20:23:07 -0800 Subject: [PATCH] remove unused function type parameter --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 71f33ee..96d6a2c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -74,7 +74,7 @@ pub fn config() -> Config { /// /// If the serialization would take more bytes than allowed by the size limit, an error /// is returned and *no bytes* will be written into the `Writer`. -pub fn serialize_into(writer: W, value: &T) -> Result<()> +pub fn serialize_into(writer: W, value: &T) -> Result<()> where W: std::io::Write, T: serde::Serialize,