core: replace vec.truncate(0) with vec.clear()
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 29 Oct 2021 12:42:54 +0000 (14:42 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 29 Oct 2021 12:42:54 +0000 (14:42 +0200)
commitb191eef3e3e1b6bea510c7e64606d8442f974f8b
treeef4a046001cb0cea43dfe14cc6a8a379c8720bc9
parent379524159c95f1c3639976ccf35f9d47cd9732ac
core: replace vec.truncate(0) with vec.clear()
nihav-core/src/compr/deflate.rs
nihav-core/src/frame.rs
nihav-core/src/reorder.rs
nihav-core/src/scale/palette/elbg.rs
nihav-core/src/scale/palette/mod.rs