]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Drop a useless import of std::result::Result since its always there
authorMatt Corallo <git@bluematt.me>
Sun, 31 May 2020 03:23:47 +0000 (23:23 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 22 Jun 2020 17:42:28 +0000 (13:42 -0400)
lightning/src/ln/msgs.rs
lightning/src/util/ser.rs

index 6936a7e93c45b96018d6542bdfe99a527f04e882..24e8120de6cc4e14c32fd07d95903621b1f9a2eb 100644 (file)
@@ -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};
index a087467f7a438304ee3db7f52c956ce1a9ef90c3..3d01a45f748bdc84d0da79570d4eefe5368eafac 100644 (file)
@@ -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;