Skip to content

Simplify std:mem::{size_of, size_of_val, align_of, align_of_val} #15314

Closed
@BenjaminBrienen

Description

@BenjaminBrienen

size_of, size_of_val, align_of, and align_of_val are now in the rust prelude: rust-lang/rust#123168

We can clean up references to these functions.

Credit to Pyrious for the idea

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorS-Needs-TriageThis issue needs to be labelled

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions