Skip to content

warning: unused return value of Box::<T>::from_raw that must be used #7

@edsky

Description

@edsky

Box::from_raw(ptr as *mut T);

Remove the warning like this

        let _ = Box::from_raw(ptr as *mut T);

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