]> git.bitcoin.ninja Git - rust-lightning/commit
Swap read_event read type for a slice isntead of a Vec
authorMatt Corallo <git@bluematt.me>
Sat, 1 Feb 2020 01:57:01 +0000 (20:57 -0500)
committerMatt Corallo <git@bluematt.me>
Sun, 1 Mar 2020 04:26:15 +0000 (23:26 -0500)
commitcc9e2fbdd3e0e417bd82c2933cb54e9512cc6453
tree0d96419fef2e2963349336b7983fa809d815037a
parente4e265c8434269128b629edf5d653b623399bae8
Swap read_event read type for a slice isntead of a Vec

It looks like we don't currently use the Vec as a Vec, and can
happily take a slice, which makes things easier on the calling
side.
fuzz/src/full_stack.rs
lightning-net-tokio/src/lib.rs
lightning/src/ln/peer_handler.rs