Skip to content

Logical and arithmetic shift operators are the opposite of many other languages #2417

@msullivan

Description

@msullivan

In rust, arithmetic shift is >>> and logical shift is >>, whereas in Java and Javascript, arithmetic shift is >> and logical shift is >>>.

This seems potentially confusing, and there really isn't any good reason to go with one over the other, so it seems like we might as well just do what other languages do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-grammarArea: The grammar of RustE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions