Skip to content

assert!() macro's formatting is unlike anything else #3550

Closed
@CryZe

Description

@CryZe

For some reason the assert!() macro is not following the normal formatting rules:
https://i.imgur.com/FR9l5b2.png

component is not on a new line and the final ); isn't either. Here's the playground repro by shepmaster: https://play.integer32.com/?version=stable&mode=debug&edition=2018&gist=ffd800255272b66f60170a907f1bc8e2

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