Skip to content

Pretty-printer is still adding extra whitespace in places #850

Closed
@brson

Description

@brson

Diffs from a recent reformat:

     item_obj(_obj, [ty_param], /* constructor id */node_id);
     item_res(_fn,
-              /* dtor */
+
+             /* dtor */
              node_id,
-              /* dtor id */
+
+             /* dtor id */
              [ty_param],
     noreturn; // functions with return type _|_ that always
               // raise an error or exit (i.e. never return to the caller)

+
     alt c {


+
       // One-byte tokens.
       '?' {
         rdr.bump();
@@ -400,6 +401,7 @@ fn next_token_inner(rdr: &reader) -> token::token {
       }


+
       // Multi-byte tokens.
       '=' {

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-prettyArea: Pretty printing (including `-Z unpretty`)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions