Re:Effective Rust
by jpochyla on Thursday June 15, 2023 @08:42AM
(#36339650)
This is... not how I would really write it. If `encrypt` takes a `&[u8]`, as it should, you don't need a `&vec![]` at all, and can do:
...which I think is the best here.
[ Parent
| on HN ]
There are no comments on this comment yet.