Skip to content

update unsafe set_len calls - #6

Open
krasimirgg wants to merge 1 commit into
magiclen:masterfrom
krasimirgg:nosetlen
Open

krasimirgg wants to merge 1 commit into
magiclen:masterfrom
krasimirgg:nosetlen

Conversation

@krasimirgg

Copy link
Copy Markdown

No functional changes intended.

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant