From: Matt Corallo Date: Sun, 31 May 2020 03:23:47 +0000 (-0400) Subject: Drop a useless import of std::result::Result since its always there X-Git-Tag: v0.0.12~54^2~7 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=9e5800927a6bdc46e4119765f07d374732b43cc5;p=rust-lightning Drop a useless import of std::result::Result since its always there --- diff --git a/lightning/src/ln/msgs.rs b/lightning/src/ln/msgs.rs index 6936a7e93..24e8120de 100644 --- a/lightning/src/ln/msgs.rs +++ b/lightning/src/ln/msgs.rs @@ -25,7 +25,6 @@ use ln::features::{ChannelFeatures, InitFeatures, NodeFeatures}; use std::{cmp, fmt}; use std::io::Read; -use std::result::Result; use util::events; use util::ser::{Readable, Writeable, Writer, FixedLengthReader, HighZeroBytesDroppedVarInt}; diff --git a/lightning/src/util/ser.rs b/lightning/src/util/ser.rs index a087467f7..3d01a45f7 100644 --- a/lightning/src/util/ser.rs +++ b/lightning/src/util/ser.rs @@ -1,7 +1,6 @@ //! A very simple serialization framework which is used to serialize/deserialize messages as well //! as ChannelsManagers and ChannelMonitors. -use std::result::Result; use std::io::{Read, Write}; use std::collections::HashMap; use std::hash::Hash;