Skip to content

Commit be52051

Browse files
committed
Update comment
1 parent 44edf63 commit be52051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide_assists/src/handlers/move_guard.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ pub(crate) fn move_arm_cond_to_match_guard(acc: &mut Assists, ctx: &AssistContex
185185
}
186186

187187
// Parses an if-else-if chain to get the conditons and the then branches until we encounter an else
188-
// branch, an if-let branch or the end.
188+
// branch or the end.
189189
fn parse_if_chain(if_expr: IfExpr) -> Option<(Vec<(Condition, BlockExpr)>, Option<BlockExpr>)> {
190190
let mut conds_blocks = Vec::new();
191191
let mut curr_if = if_expr;

0 commit comments

Comments
 (0)