File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -512,7 +512,7 @@ fn lower_equation_like(
512512 let children = b. children ( ) ;
513513 children. map ( |b| lower_binder ( state, & b) ) . collect ( )
514514 } ) ;
515- equation. guarded = guarded_expression. as_ref ( ) . map ( |g| lower_guarded_expression ( state, & g) ) ;
515+ equation. guarded = guarded_expression. as_ref ( ) . map ( |g| lower_guarded_expression ( state, g) ) ;
516516}
517517
518518fn lower_guarded_expression ( state : & mut State , cst : & cst:: GuardedExpression ) -> GuardedExpression {
@@ -583,9 +583,9 @@ fn lower_qualified_name(
583583 let text = q. text ( ) ;
584584 Some ( SmolStr :: from ( text) )
585585 } ) ;
586- let name = token ( cst) . and_then ( |t| {
586+ let name = token ( cst) . map ( |t| {
587587 let text = t. text ( ) ;
588- Some ( SmolStr :: from ( text) )
588+ SmolStr :: from ( text)
589589 } ) ;
590590 ( qualifier, name)
591591}
You can’t perform that action at this time.
0 commit comments