Skip to content

Bitwise shift operator breaks indentation rulesΒ #398

Open
@ateraz13

Description

@ateraz13

When I let Emacs indent this code, it assumes the bitwise shift operator is an opening angle bracket.

let a = u32::MAX << 5;

The issue is caused by the column characters, I personally think rust-is-lt-char-operator doesn't handle this special case.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions