Skip to content

TextDecoder::decode_with_u8_array{_and_options} should accept immutable slice #1538

Open
@RReverser

Description

@RReverser

Describe the Bug

TextDecoder::decode_with_u8_array{_and_options} should accept immutable slice instead of a mutable one.

Additional Context

This was originally mentioned in a comment on the original issue #1005, but it was closed now, so moving own into a separate issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    web-sysIssues related to the `web-sys` crate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions