@@ -2867,7 +2867,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
28672867 true
28682868 }
28692869
2870- /// Attempt to statically pick the BasicBlock that a value would resolve to at runtime.
2870+ /// Attempt to statically pick the ` BasicBlock` that a value would resolve to at runtime.
28712871 pub ( crate ) fn static_pattern_match (
28722872 & self ,
28732873 cx : & RustcPatCtxt < ' _ , ' tcx > ,
@@ -2926,7 +2926,8 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
29262926 // a lot of care around intrinsics. For an issue to happen here, it would require a
29272927 // macro expanding to a `simd_shuffle` call without wrapping the constant argument in a
29282928 // `const {}` block, but the user pass through arbitrary expressions.
2929- // FIXME(oli-obk): replace the magic const generic argument of `simd_shuffle` with a
2929+
2930+ // FIXME(oli-obk): Replace the magic const generic argument of `simd_shuffle` with a
29302931 // real const generic, and get rid of this entire function.
29312932 other => span_bug ! ( constant. span, "{other:#?}" ) ,
29322933 } ;
@@ -2977,7 +2978,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
29772978 } ,
29782979 Constructor :: Wildcard => true ,
29792980
2980- // these we may eventually support
2981+ // These we may eventually support:
29812982 Constructor :: Struct
29822983 | Constructor :: Ref
29832984 | Constructor :: Slice ( _)
@@ -2989,7 +2990,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
29892990 | Constructor :: F128Range ( ..)
29902991 | Constructor :: Str ( _) => bug ! ( "unsupported pattern constructor {:?}" , pat. ctor( ) ) ,
29912992
2992- // these should never occur here
2993+ // These should never occur here:
29932994 Constructor :: Opaque ( _)
29942995 | Constructor :: Never
29952996 | Constructor :: NonExhaustive
0 commit comments