fix a couple clippy:complexitys
double_parens filter_map_identity needless_question_mark redundant_guards
This commit is contained in:
parent
be01dabfef
commit
dab76eccdf
4 changed files with 6 additions and 6 deletions
|
@ -277,9 +277,9 @@ pub fn create_dump_file<'tcx>(
|
|||
)
|
||||
})?;
|
||||
}
|
||||
Ok(fs::File::create_buffered(&file_path).map_err(|e| {
|
||||
fs::File::create_buffered(&file_path).map_err(|e| {
|
||||
io::Error::new(e.kind(), format!("IO error creating MIR dump file: {file_path:?}; {e}"))
|
||||
})?)
|
||||
})
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue