mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-22 12:56:33 +00:00
Satisfy nightly clippy
This commit is contained in:
parent
ad1f84d80f
commit
7e3426e7df
1 changed files with 4 additions and 1 deletions
|
@ -33,7 +33,10 @@ pub(crate) fn dump_tokens(input_name: impl ToString, tokens: TokenStream) -> Tok
|
|||
rustfmt.wait_with_output()
|
||||
})
|
||||
.map(|output| eprintln!("{}", String::from_utf8_lossy(&output.stdout)))
|
||||
.or_else(|_| Ok(eprintln!("{token_string}")));
|
||||
.or_else(|_| {
|
||||
eprintln!("{token_string}");
|
||||
Ok(())
|
||||
});
|
||||
}
|
||||
|
||||
tokens
|
||||
|
|
Loading…
Reference in a new issue