Skip to content

Commit d559118

Browse files
committed
fix rustfmt issue from master
1 parent 7721850 commit d559118

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/toml.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,8 @@ impl TomlParser {
532532
self.next(i);
533533
}
534534

535-
if self.cur == 'n' { // check if is "nan"
535+
if self.cur == 'n' {
536+
// check if is "nan"
536537
num.push(self.cur);
537538
self.next(i);
538539
if self.cur == 'a' {
@@ -546,7 +547,8 @@ impl TomlParser {
546547
}
547548
}
548549
}
549-
} else if self.cur == 'i' { // check if is "inf"
550+
} else if self.cur == 'i' {
551+
// check if is "inf"
550552
num.push(self.cur);
551553
self.next(i);
552554
if self.cur == 'n' {

0 commit comments

Comments
 (0)