| @@ -1,7 +1,7 @@ | |
| match candidate.normalized_expr_identifier_name() { | if candidate.normalized_expr_identifier_name() is Some(candidate_name) { |
| Some(candidate_name) => | |
| Some( | Some( |
| bind_value(bindings, name, string_binding(candidate_name, candidate)), | bind_value(bindings, name, string_binding(candidate_name, candidate)), |
| ) | ) |
| } else { | |
| None => Some(false) | Some(false) |
| } | } |
@@ -1,7 +1,7 @@ - match candidate.normalized_expr_identifier_name() { - Some(candidate_name) => - Some( - bind_value(bindings, name, string_binding(candidate_name, candidate)), - ) - None => Some(false) - } + if candidate.normalized_expr_identifier_name() is Some(candidate_name) { + Some( + bind_value(bindings, name, string_binding(candidate_name, candidate)), + ) + } else { + Some(false) + }