fix nightly lints

This commit is contained in:
trinity-1686a 2022-08-24 19:10:12 +02:00
parent c7d2b5001c
commit 075ec7557f
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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();