提交 ed16b0a1 编写于 作者: B bors

Auto merge of #43689 - edaniels:patch-1, r=GuillaumeGomez

Fix typo in coerce_forced_unit docstring
......@@ -1046,7 +1046,7 @@ pub fn coerce<'a>(&mut self,
}
/// Indicates that one of the inputs is a "forced unit". This
/// occurs in a case like `if foo { ... };`, where the issing else
/// occurs in a case like `if foo { ... };`, where the missing else
/// generates a "forced unit". Another example is a `loop { break;
/// }`, where the `break` has no argument expression. We treat
/// these cases slightly differently for error-reporting
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册