]> git.lizzy.rs Git - rust.git/commitdiff
fix comment that got split in two
authorNiko Matsakis <niko@alum.mit.edu>
Fri, 30 Dec 2016 15:51:32 +0000 (10:51 -0500)
committerAndrew Cann <shum@canndrew.org>
Tue, 3 Jan 2017 07:54:23 +0000 (15:54 +0800)
src/librustc_const_eval/_match.rs

index f1bd659bd2d39ff0e7f0b9a49ce3eea651d66ab7..36e9b1b49002075c11bac4a7b6cf3c2cc45b4f8a 100644 (file)
@@ -361,14 +361,13 @@ fn apply_constructor<'a>(
 
 /// 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>,