html-escape icon indicating copy to clipboard operation
html-escape copied to clipboard

update unsafe set_len calls

Open krasimirgg opened this issue 8 months ago • 0 comments

No functional changes intended.

These set_len calls were unsound: set_len requires that the elements old_len..new_len were initialized:

  • https://doc.rust-lang.org/std/vec/struct.Vec.html#method.set_len

krasimirgg avatar Jun 17 '24 13:06 krasimirgg