d86fc1bf64
Fixes 5987 rustfmt already special cases the formatting for the `debug!`, `info!`, `warn!`, and `error!`, macros from the `log` crate. However, this speical case handling did not apply to the `trace!` macro. Now when using `Version=Two` rustfmt will also special case the formatting for the `trace!` macro.
13 lines
239 B
Rust
13 lines
239 B
Rust
// rustfmt-version: Two
|
|
|
|
fn main() {
|
|
trace!(
|
|
"get some longer length in here yes yes {} {}",
|
|
"hello", "world"
|
|
);
|
|
debug!(
|
|
"get some longer length in here yes yes {} {}",
|
|
"hello", "world"
|
|
);
|
|
}
|