Skip to content

format!() ignores precision while formatting Debug #55584

Open
@imp

Description

@imp

The precision field is ignored when formatting/printing Debug representation. Apparently, it is honored when formatting Display representation.

https://play.rust-lang.org/?version=nightly&mode=debug&edition=2015&gist=516b0c6222b4b351b69e45c15943821b

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-langRelevant to the language team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions