diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-12-30 10:51:32 -0500 |
|---|---|---|
| committer | Andrew Cann <shum@canndrew.org> | 2017-01-03 15:54:23 +0800 |
| commit | 699b25ff3a86213b806387c3806adc3af9858205 (patch) | |
| tree | f4950f405437a79e108638e01272673a5bd9ae2d /src | |
| parent | 9f83e962de29dec0eea7c8ae4ac403bbc6ad1f16 (diff) | |
| download | rust-699b25ff3a86213b806387c3806adc3af9858205.tar.gz rust-699b25ff3a86213b806387c3806adc3af9858205.zip | |
fix comment that got split in two
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_const_eval/_match.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc_const_eval/_match.rs b/src/librustc_const_eval/_match.rs index f1bd659bd2d..36e9b1b4900 100644 --- a/src/librustc_const_eval/_match.rs +++ b/src/librustc_const_eval/_match.rs @@ -361,14 +361,13 @@ impl<'tcx> Witness<'tcx> { /// This determines the set of all possible constructors of a pattern matching /// values of type `left_ty`. For vectors, this would normally be an infinite set +/// but is instead bounded by the maximum fixed length of slice patterns in +/// the column of patterns being analyzed. /// /// This intentionally does not list ConstantValue specializations for /// non-booleans, because we currently assume that there is always a /// "non-standard constant" that matches. See issue #12483. /// -/// but is instead bounded by the maximum fixed length of slice patterns in -/// the column of patterns being analyzed. -/// /// We make sure to omit constructors that are statically impossible. eg for /// Option<!> we do not include Some(_) in the returned list of constructors. fn all_constructors<'a, 'tcx: 'a>(cx: &mut MatchCheckCtxt<'a, 'tcx>, |
