From 3bf1ba7987829fab555a767c77883d123ded729b Mon Sep 17 00:00:00 2001 From: Eric Daniels Date: Sat, 5 Aug 2017 13:15:53 -0400 Subject: [PATCH] Fix typo in coerce_forced_unit docstring --- src/librustc_typeck/check/coercion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_typeck/check/coercion.rs b/src/librustc_typeck/check/coercion.rs index 968e893b9a0..e494bc15222 100644 --- a/src/librustc_typeck/check/coercion.rs +++ b/src/librustc_typeck/check/coercion.rs @@ -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