]> Untitled Git - bdk/commit
Use vec! instead of mut and push
authorTobin Harding <me@tobin.cc>
Tue, 9 Feb 2021 23:25:46 +0000 (10:25 +1100)
committerTobin Harding <me@tobin.cc>
Wed, 24 Feb 2021 02:30:48 +0000 (13:30 +1100)
commite35601bb19ec2295d4100ef6d3d5eb1756fd075e
tree2689545aadb3ac03733d637177f6cf3a0e3568ef
parent24df438607bcf58c5304b6c2976b4d70ce6a6716
Use vec! instead of mut and push

As suggested by Clippy, use the `vec!` macro directly instead of
declaring a mutable vector and pushing elements onto it.
src/descriptor/dsl.rs
src/descriptor/template.rs