]> git.bitcoin.ninja Git - rust-lightning/commit
derive(Clone) for several pub simple data structs.
authorMatt Corallo <git@bluematt.me>
Tue, 20 Oct 2020 18:01:22 +0000 (14:01 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 23 Nov 2020 16:08:34 +0000 (11:08 -0500)
commitd73711104482c78d501a5ea47a39b466585ca34d
tree86137b47b62a45fe10785a1d9b1c0b511deebbad
parent0362972d37e5078f6f160d3328778df90747fa93
derive(Clone) for several pub simple data structs.

There is no reason not to and Clone can be useful especially in the
bindings context.
lightning/src/chain/channelmonitor.rs
lightning/src/ln/chan_utils.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/msgs.rs
lightning/src/routing/router.rs
lightning/src/util/events.rs