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

Fix typo in coerce_forced_unit docstring
This commit is contained in:
bors 2017-08-05 19:51:19 +00:00
commit ed16b0a1de

View File

@ -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