mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-23 05:07:27 +00:00
rustfmt has opinions
This commit is contained in:
parent
0ad0be8095
commit
b9ab8fcebd
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ pub(crate) fn dump_tokens(input_name: impl ToString, tokens: TokenStream) -> Tok
|
|||
.unwrap()
|
||||
.write_all(token_string.as_bytes())?;
|
||||
rustfmt.wait_with_output()
|
||||
}).map(|output| eprintln!("{}", String::from_utf8_lossy(&output.stdout)))
|
||||
})
|
||||
.map(|output| eprintln!("{}", String::from_utf8_lossy(&output.stdout)))
|
||||
.or_else(|_| Ok(eprintln!("{token_string}")));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue