fix nightly lints
This commit is contained in:
parent
c7d2b5001c
commit
075ec7557f
|
@ -325,6 +325,7 @@ mod test {
|
|||
assert_eq!(&config.proxy, proxy);
|
||||
}
|
||||
|
||||
#[allow(clippy::dbg_macro)]
|
||||
fn exhaustive_1(example_file: &str, expect_missing: &[&str]) {
|
||||
use itertools::Itertools;
|
||||
use serde_json::Value as JsValue;
|
||||
|
|
|
@ -155,7 +155,7 @@ async fn case(level: PaddingLevel, dormancy: Dormancy, usage: ChannelUsage) -> C
|
|||
|
||||
let netparams = Arc::new(NetParameters::default());
|
||||
|
||||
let chanmgr = AbstractChanMgr::new(factory, &cconfig, dormancy, &*netparams);
|
||||
let chanmgr = AbstractChanMgr::new(factory, &cconfig, dormancy, &netparams);
|
||||
|
||||
let (channel, _prov) = chanmgr.get_or_launch(peer_id, (), usage).await.unwrap();
|
||||
|
||||
|
|
Loading…
Reference in New Issue