Skip to content

Commit 4855561

Browse files
committed
style(pdf): rustfmt wrap merge_word_runs calls (CI fmt --check)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QYCj8stK1TzKcy6crtTfha
1 parent 4b9e540 commit 4855561

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

crates/fleischwolf-pdf/src/dp_lines.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,16 @@ impl Cell {
151151
self.ltr = false;
152152
// RTL: `other` is logically first, so its words precede self's. The
153153
// junction is between other's last word and self's first.
154-
self.words = merge_word_runs(other.words.clone(), std::mem::take(&mut self.words), space);
154+
self.words =
155+
merge_word_runs(other.words.clone(), std::mem::take(&mut self.words), space);
155156
} else {
156157
if space {
157158
self.text.push(' ');
158159
}
159160
self.text.push_str(&other.text);
160161
self.ltr = true;
161-
self.words = merge_word_runs(std::mem::take(&mut self.words), other.words.clone(), space);
162+
self.words =
163+
merge_word_runs(std::mem::take(&mut self.words), other.words.clone(), space);
162164
}
163165
// Extend the right edge to `other`.
164166
self.rx1 = other.rx1;

0 commit comments

Comments
 (0)