Format all the let chains in compiler

This commit is contained in:
Michael Goulet
2023-10-13 08:58:33 +00:00
parent 2763ca50da
commit b2d2184ede
206 changed files with 3120 additions and 2228 deletions

View File

@@ -847,7 +847,9 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
self.local_decls.push(LocalDecl::with_source_info(param.ty, source_info));
// If this is a simple binding pattern, give debuginfo a nice name.
if let Some(ref pat) = param.pat && let Some(name) = pat.simple_ident() {
if let Some(ref pat) = param.pat
&& let Some(name) = pat.simple_ident()
{
self.var_debug_info.push(VarDebugInfo {
name,
source_info,