Skip to content

string_lit_as_bytes doesn't work correctly #1402

Open
@farodin91

Description

@farodin91

I'm not shure why this not work correct.
"key".as_bytes().to_owned() => b"key".to_owned() for type Vec<u8>

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.I-suggestion-causes-errorIssue: The suggestions provided by this Lint cause an ICE/error when applied

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions