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