Skip to content

UserSliceReader::read_all should work with any Vec allocator #1136

Description

@Darksonn

The UserSliceReader::read_all function currently has this signature:

scr

This means that it can only be used with the kmalloc allocator. However, there's no reason for this restriction. The function could work with any Vec no matter what the allocator is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    • libRelated to the `rust/` library.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions