Fix typo in coerce_forced_unit docstring
This commit is contained in:
parent
2b82b7e50a
commit
3bf1ba7987
@ -1046,7 +1046,7 @@ impl<'gcx, 'tcx, 'exprs, E> CoerceMany<'gcx, 'tcx, 'exprs, E>
|
||||
}
|
||||
|
||||
/// 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
|
||||
|
Loading…
Reference in New Issue
Block a user