Clippity clip clippy

This commit is contained in:
Emmanuel BENOîT 2023-01-11 07:21:50 +01:00
parent ecc8f2ec8b
commit 98eef78583

View file

@ -232,10 +232,9 @@ where
'b: 'a, 'b: 'a,
{ {
rs.define_this(); rs.define_this();
methods methods.iter().try_for_each(|method| {
.iter() rs.with_scope(|rs| resolve_function(rs, &method.params, &method.body))
.map(|method| rs.with_scope(|rs| resolve_function(rs, &method.params, &method.body))) })
.collect()
} }
/// Helper trait used to visit the various AST nodes with the resolver. /// Helper trait used to visit the various AST nodes with the resolver.