Skip to content

Commit 89d8508

Browse files
committed
chore: format + clippy
1 parent 08d11b9 commit 89d8508

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

crates/c2pdf-gui/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ fn app_view() -> impl IntoView {
129129
Dimensions::default(),
130130
12.0,
131131
None,
132-
true,
132+
true,
133133
&logger_for_thread,
134134
None,
135135
);

crates/c2pdf/src/bin/c2pdf.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ struct Arguments {
3434
exclude: StringVec,
3535

3636
/// whether to include the path at the top of each page
37-
///
38-
/// defaults to true
37+
///
38+
/// defaults to true
3939
#[argh(option, default = "true")]
4040
include_path: bool,
4141

@@ -108,7 +108,7 @@ fn main() {
108108
page_dimensions,
109109
args.font_size,
110110
args.page_text,
111-
args.include_path,
111+
args.include_path,
112112
&logger,
113113
args.threads,
114114
);

crates/c2pdf/src/lib/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub fn init_page(
4747
},
4848
]);
4949
// Write additional text
50-
if let Some(ref text) = additional_text {
50+
if let Some(text) = additional_text {
5151
contents.extend_from_slice(&[
5252
Op::SetTextMatrix {
5353
matrix: TextMatrix::Translate(Pt(0.0), Pt(0.0)),

0 commit comments

Comments
 (0)