]> git.bitcoin.ninja Git - rust-lightning/commit
Fix compilation in `payment` rustdoc examples 2021-11-bad-rustdoc
authorMatt Corallo <git@bluematt.me>
Tue, 30 Nov 2021 21:01:39 +0000 (21:01 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 30 Nov 2021 22:54:28 +0000 (22:54 +0000)
commitef246ed7862efc8c9be42f2c27eecb43d22e6b97
treecf1345fbe55e86ed9a84873c5e5b732d1bca23d5
parent9fcc626ee4d23a276fc8dd87ddb2538f4d5565f9
Fix compilation in `payment` rustdoc examples

The samples were not valid rust, but previous versions of rustc had
a bug where they were accepted anyway. Latest rustc beta no longer
accepts these.
lightning-invoice/src/payment.rs