diff options
| author | David Renshaw <david@sandstorm.io> | 2017-03-16 11:19:47 -0400 |
|---|---|---|
| committer | David Renshaw <david@sandstorm.io> | 2017-03-16 11:30:06 -0400 |
| commit | e9c07cfc0e92e9370d8cbcb78ac84efe0a6c1644 (patch) | |
| tree | c6f3eaf004f2678cf82940f9abaa0ac90e1d43a7 | |
| parent | 0aeb9c12979e6da753701a798d04105b6b1a8c28 (diff) | |
fix typo in mir TerminatorKind docs
| -rw-r--r-- | src/librustc/mir/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/mir/mod.rs b/src/librustc/mir/mod.rs index fea576f7067..659e115135e 100644 --- a/src/librustc/mir/mod.rs +++ b/src/librustc/mir/mod.rs @@ -467,7 +467,7 @@ pub enum TerminatorKind<'tcx> { values: Cow<'tcx, [ConstInt]>, /// Possible branch sites. The last element of this vector is used - /// for the otherwise branch, so values.len() == targets.len() + 1 + /// for the otherwise branch, so targets.len() == values.len() + 1 /// should hold. // This invariant is quite non-obvious and also could be improved. // One way to make this invariant is to have something like this instead: |
