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 );
}
}