about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWang Ruochen <wrc@ruo-chen.wang>2021-12-22 14:17:43 -0800
committerWang Ruochen <wrc@ruo-chen.wang>2021-12-22 14:17:43 -0800
commitbe5205170c2473cfb40630ba57d672725d74fbb3 (patch)
treedf32ea6d154dc96e4f315db74e6dab1f66ad97a2
parent44edf63eddd6567d3fff406c553990fe84c32975 (diff)
downloadrust-be5205170c2473cfb40630ba57d672725d74fbb3.tar.gz
rust-be5205170c2473cfb40630ba57d672725d74fbb3.zip
Update comment
-rw-r--r--crates/ide_assists/src/handlers/move_guard.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_assists/src/handlers/move_guard.rs b/crates/ide_assists/src/handlers/move_guard.rs
index c43d585acde..f257450a22f 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<BlockExpr>)> {
     let mut conds_blocks = Vec::new();
     let mut curr_if = if_expr;