Skip to content

Commit 7ce1ebb

Browse files
committed
style: format no-wrap regression fix
Signed-off-by: Yonghye Kwon <developer.0hye@gmail.com>
1 parent c1d2d8f commit 7ce1ebb

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

crates/office2pdf/src/render/typst_gen_text.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,7 @@ pub(super) fn generate_runs(out: &mut String, runs: &[Run]) {
225225
}
226226
}
227227

228-
fn no_wrap_text(
229-
text: &str,
230-
preserve_cjk_no_wrap: bool,
231-
state: &mut NoWrapState,
232-
) -> String {
228+
fn no_wrap_text(text: &str, preserve_cjk_no_wrap: bool, state: &mut NoWrapState) -> String {
233229
if !preserve_cjk_no_wrap {
234230
return text.to_string();
235231
}

0 commit comments

Comments
 (0)