]> git.bitcoin.ninja Git - rust-lightning/commit
Refer to return types by the trait that they're defined via
authorMatt Corallo <git@bluematt.me>
Sun, 31 May 2020 03:22:16 +0000 (23:22 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 25 Aug 2020 21:09:51 +0000 (17:09 -0400)
commitf65765872e70bb273c7a73fc1f6bdc59fec3646d
tree63f37e08c0adbe3c12dfbc68eba36d3b83a72360
parentbce202536d0de69cc12b833fa9c7bc9cbba94b93
Refer to return types by the trait that they're defined via

Instead of using the explicit type which is being returned, refer
to them as Self::AssociatedType, to make clear to the bindings what
type of thing is being returned.
lightning/src/chain/keysinterface.rs