mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-03 22:34:21 +01:00
rust: fixed compiler warning in the example
Changelog-None: rust: fixed compiler warning in the example Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
aad4495f56
commit
7e6893af9e
@@ -6,7 +6,9 @@ use tokio;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), anyhow::Error> {
|
||||
// initialize the log inside the library
|
||||
env_logger::init();
|
||||
|
||||
let rpc_path = args().nth(1).context("missing argument: socket path")?;
|
||||
let p = Path::new(&rpc_path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user