]> git.bitcoin.ninja Git - rust-lightning/commit
Standardize trait derives in network graph objects
authorMatt Corallo <git@bluematt.me>
Mon, 22 Feb 2021 16:05:54 +0000 (11:05 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 22 Feb 2021 16:44:22 +0000 (11:44 -0500)
commit8051fb0118c2b23c3d38927ea58d5780996c9863
treebde4c3adc9208ce9a7646d2aa66656ec78eca903
parent9a5d846c9e66aa421f72270e4bfce293d0f0859b
Standardize trait derives in network graph objects

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