Skip to content

rust-format-buffer adds verbose output to file #250

Open
@christetreault

Description

@christetreault

If verbose = true is set in rustfmt.toml, rust-format-buffer will add the verbose output to the source file when run:

#[cfg(test)]
mod tests {
   #[test]
   fn it_works()
   {
      assert_eq!( 2 + 2, 4 );
   }
}

... becomes ...

Formatting stdin
#[cfg(test)]
mod tests {
   #[test]
   fn it_works()
   {
      assert_eq!( 2 + 2, 4 );
   }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions