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.
14 lines
247 B
Rust
14 lines
247 B
Rust
// rustfmt-version: One
|
|
|
|
fn main() {
|
|
trace!(
|
|
"get some longer length in here yes yes {} {}",
|
|
"hello",
|
|
"world"
|
|
);
|
|
debug!(
|
|
"get some longer length in here yes yes {} {}",
|
|
"hello", "world"
|
|
);
|
|
}
|