]> git.bitcoin.ninja Git - rust-lightning/commit
Standardize trait derives in network message objects
authorMatt Corallo <git@bluematt.me>
Sun, 21 Feb 2021 22:28:18 +0000 (17:28 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 22 Feb 2021 16:44:22 +0000 (11:44 -0500)
commit9a5d846c9e66aa421f72270e4bfce293d0f0859b
tree075287a176459e4b10b24d516d93d7a46abfa569
parent94bb0c9128c2635ea08ec089f79fab04880dedd0
Standardize trait derives in network message objects

In general, trivial structs that have no inner logic can/should
all derive, at least, `Clone, Debug, PartialEq`.
lightning/src/ln/msgs.rs