mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-09 15:53:53 +01:00
style: Make clippy happy
This commit is contained in:
1 parent
0f0ccba9ed
commit
afd0dce180
1 file changed
+1
-4
@@ -386,10 +386,7 @@ impl PrintSarif {
|
||||
}
|
||||
|
||||
fn sarif_error_mapper(error: impl std::fmt::Display) -> std::io::Error {
|
||||
std::io::Error::new(
|
||||
std::io::ErrorKind::Other,
|
||||
format!("failed to generate SARIF output: {error}"),
|
||||
)
|
||||
std::io::Error::other(format!("failed to generate SARIF output: {error}"))
|
||||
}
|
||||
|
||||
fn typo_to_sarif_result(
|
||||
|
||||
Reference in new issue
Block a user