commit | fb0b40f5aca86d842ad98577ffe1d40d714300f1 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Wed Mar 10 13:31:33 2021 -0800 |
committer | George Burgess IV <gbiv@google.com> | Wed Mar 10 13:31:33 2021 -0800 |
tree | 19e77733119f07c46473eb020baba45f47602e60 | |
parent | 69e4110b7a247ba9a58a55fb6f9525d73f5652f8 [diff] |
verityutils: s/vector/span/ while writing I8fe9dc047af729b0f5730ec1844b3902225fa73e, i noticed that we're making a temp vector just to call toHex. since toHex only iterates over and inspects its argument, it can take a `span` instead, which allows us to avoid making a copy. Bug: None Test: TreeHugger Change-Id: Ide87b7ab7a10e68e895338fb61a41af6c1ab6e77