Skip to content

Commit

Permalink
fix comment that got split in two
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis authored and canndrew committed Jan 3, 2017
1 parent 9f83e96 commit 699b25f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/librustc_const_eval/_match.rs
Expand Up @@ -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>,
Expand Down

0 comments on commit 699b25f

Please sign in to comment.