From 878f5b05147480182ea4d8a855acc55bfeb16c22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= Date: Tue, 27 Feb 2018 16:49:34 +0100 Subject: [PATCH] Fix Decodable impl for Arc --- src/libserialize/serialize.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libserialize/serialize.rs b/src/libserialize/serialize.rs index 854ca4eb3b0..7341dec5156 100644 --- a/src/libserialize/serialize.rs +++ b/src/libserialize/serialize.rs @@ -760,7 +760,7 @@ impl Encodable for Arc { } } -impl Decodable for Arc { +impl Decodable for Arc { fn decode(d: &mut D) -> Result, D::Error> { Ok(Arc::new(Decodable::decode(d)?)) }