Skip to content

Commit 3ae07d7

Browse files
committed
Fix several compile warnings added in some of my recent commits
1 parent ba69536 commit 3ae07d7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ use ln::channel::{Channel, ChannelError, ChannelUpdateStatus, UpdateFulfillCommi
4646
use ln::features::{ChannelTypeFeatures, InitFeatures, NodeFeatures};
4747
use routing::router::{PaymentParameters, Route, RouteHop, RoutePath, RouteParameters};
4848
use ln::msgs;
49-
use ln::msgs::NetAddress;
5049
use ln::onion_utils;
5150
use ln::msgs::{ChannelMessageHandler, DecodeError, LightningError, MAX_VALUE_MSAT};
5251
use ln::wire::Encode;

lightning/src/util/wakers.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use core::mem;
1818
use core::time::Duration;
1919
use sync::{Condvar, Mutex};
2020

21-
use prelude::{Box, Vec};
21+
use prelude::*;
2222

2323
#[cfg(any(test, feature = "std"))]
2424
use std::time::Instant;
@@ -27,7 +27,6 @@ use core::future::Future as StdFuture;
2727
use core::task::{Context, Poll};
2828
use core::pin::Pin;
2929

30-
use prelude::*;
3130

3231
/// Used to signal to one of many waiters that the condition they're waiting on has happened.
3332
pub(crate) struct Notifier {

0 commit comments

Comments
 (0)