Skip to content

Do not convert internal buffer from MaybeUninit<[V; N]> to [V; N] #19

@victoryaskevich

Description

@victoryaskevich

I briefly looked at the code and it seems there is no reason to convert it.

Even more, it violates Rust's safety rules, because the memory is not initialized.

telegram-cloud-photo-size-2-5408890794368157446-y

image

So make items to be MaybeUninit

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions