{"ast_node_type":"variable","tokens":[{"end":62,"kind":"keyword","start":0,"text":"let"}]}
    let name_ref = ctx.find_node_at_offset::<ast::NameRef>()?;
pub(crate) fn convert_bool_then_to_if(acc: &mut Assists, ctx: &AssistContext<'_>) -> Option<()> {
    let mcall = name_ref.syntax().parent().and_then(ast::MethodCallExpr::cast)?;