about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Daniels <eric@erdaniels.com>2017-08-05 13:15:53 -0400
committerGitHub <noreply@github.com>2017-08-05 13:15:53 -0400
commit3bf1ba7987829fab555a767c77883d123ded729b (patch)
treefc39232a163e770f2ed9180377982fb7c72b0bff
parent2b82b7e50a9ebb514ac5cf2a0a5b65ac3d92cefb (diff)
downloadrust-3bf1ba7987829fab555a767c77883d123ded729b.tar.gz
rust-3bf1ba7987829fab555a767c77883d123ded729b.zip
Fix typo in coerce_forced_unit docstring
-rw-r--r--src/librustc_typeck/check/coercion.rs2
1 files changed, 1 insertions, 1 deletions
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