Skip to content

Commit 6ccb55d

Browse files
committed
Apply upstream rustfmt formatting via check_rustc.sh --bless
1 parent e2b92ca commit 6ccb55d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

library/core/src/str/iter.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,9 +1058,7 @@ where
10581058
P: Pattern<Searcher<'a>: fmt::Debug>,
10591059
{
10601060
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
1061-
f.debug_tuple("MatchIndicesInternal")
1062-
.field(&self.0)
1063-
.finish()
1061+
f.debug_tuple("MatchIndicesInternal").field(&self.0).finish()
10641062
}
10651063
}
10661064

@@ -1437,9 +1435,7 @@ impl<'a, P: Pattern> Iterator for SplitInclusive<'a, P> {
14371435
#[stable(feature = "split_inclusive", since = "1.51.0")]
14381436
impl<'a, P: Pattern<Searcher<'a>: fmt::Debug>> fmt::Debug for SplitInclusive<'a, P> {
14391437
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
1440-
f.debug_struct("SplitInclusive")
1441-
.field("0", &self.0)
1442-
.finish()
1438+
f.debug_struct("SplitInclusive").field("0", &self.0).finish()
14431439
}
14441440
}
14451441

0 commit comments

Comments
 (0)