From be5205170c2473cfb40630ba57d672725d74fbb3 Mon Sep 17 00:00:00 2001 From: Wang Ruochen Date: Wed, 22 Dec 2021 14:17:43 -0800 Subject: [PATCH] Update comment --- crates/ide_assists/src/handlers/move_guard.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ide_assists/src/handlers/move_guard.rs b/crates/ide_assists/src/handlers/move_guard.rs index c43d585acde0..f257450a22f8 100644 --- a/crates/ide_assists/src/handlers/move_guard.rs +++ b/crates/ide_assists/src/handlers/move_guard.rs @@ -185,7 +185,7 @@ pub(crate) fn move_arm_cond_to_match_guard(acc: &mut Assists, ctx: &AssistContex } // Parses an if-else-if chain to get the conditons and the then branches until we encounter an else -// branch, an if-let branch or the end. +// branch or the end. fn parse_if_chain(if_expr: IfExpr) -> Option<(Vec<(Condition, BlockExpr)>, Option)> { let mut conds_blocks = Vec::new(); let mut curr_if = if_expr;