]> git.lizzy.rs Git - rust.git/blobdiff - crates/ide_assists/src/handlers/move_guard.rs
Update comment
[rust.git] / crates / ide_assists / src / handlers / move_guard.rs
index c43d585acde0d94238ec9482737f669e2a2d8130..f257450a22f8126cd3456ff39d6038c56fb367ec 100644 (file)
@@ -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<BlockExpr>)> {
     let mut conds_blocks = Vec::new();
     let mut curr_if = if_expr;