Skip to content

Commit 3cc9f73

Browse files
committed
Add a missing space
1 parent b10a86d commit 3cc9f73

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

compiler/rustc_mir_build/src/builder/matches/match_pair.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fn try_reconstruct_aggregate_constant<'tcx>(
4848
impl<'a, 'tcx> Builder<'a, 'tcx> {
4949
/// Check if we can use aggregate `PartialEq::eq` comparisons for constant array/slice patterns.
5050
/// This is not possible in const contexts unless `#![feature(const_cmp, const_trait_impl)]` are enabled,
51-
/// because`PartialEq` is not const-stable.
51+
/// because `PartialEq` is not const-stable.
5252
fn can_use_aggregate_eq(&self) -> bool {
5353
let const_partial_eq_enabled = {
5454
let features = self.tcx.features();
@@ -340,13 +340,7 @@ impl<'tcx> MatchPairTree<'tcx> {
340340
for (subplace, subpat) in
341341
prefix_slice_suffix(&place_builder, None, prefix, slice, suffix)
342342
{
343-
MatchPairTree::for_pattern(
344-
subplace,
345-
subpat,
346-
cx,
347-
&mut subpairs,
348-
extra_data,
349-
);
343+
MatchPairTree::for_pattern(subplace, subpat, cx, &mut subpairs, extra_data);
350344
}
351345

352346
if prefix.is_empty() && slice.is_some() && suffix.is_empty() {

0 commit comments

Comments
 (0)