Merge pull request #131 from tnull/2024-02-align-rustfmt main
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Thu, 25 Apr 2024 17:48:04 +0000 (10:48 -0700)
committerGitHub <noreply@github.com>
Thu, 25 Apr 2024 17:48:04 +0000 (10:48 -0700)
Align `rustfmt.toml` with `rust-lightning`

1  2 
src/cli.rs

diff --cc src/cli.rs
index 04c5898fc4d8d483c817b005590840b0cf59287c,ee6a949df552823085e2f841e3e5f9b7185bddcc..fe1b286d7b4d7abaf424495a98dccd522bb56daf
@@@ -818,10 -818,10 +818,10 @@@ fn send_payment
        let (payment_hash, recipient_onion, route_params) = match pay_params_opt {
                Ok(res) => res,
                Err(e) => {
 -                      println!("Failed to parse invoice");
 +                      println!("Failed to parse invoice: {:?}", e);
                        print!("> ");
                        return;
-               }
+               },
        };
        outbound_payments.payments.insert(
                payment_id,