Skip to content

Commit a0bbecd

Browse files
committed
Cargo fmt
1 parent 0f90d0c commit a0bbecd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

pio-proc/src/lib.rs

+7-2
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,12 @@ pub fn pio_file(item: TokenStream) -> TokenStream {
284284
Err(e) => return parse_error(e, &args.program).into(),
285285
};
286286

287-
to_codegen(program, args.max_program_size, args.file_path.into_os_string().into_string().ok()).into()
287+
to_codegen(
288+
program,
289+
args.max_program_size,
290+
args.file_path.into_os_string().into_string().ok(),
291+
)
292+
.into()
288293
}
289294

290295
/// A macro which invokes the PIO assembler at compile time.
@@ -390,7 +395,7 @@ fn to_codegen(
390395
// a recompile. Should be replaced by
391396
// `proc_macro::tracked_path::path` when it is stable.
392397
let dummy_include = match file {
393-
Some(file_path) => quote!{let _ = include_bytes!( #file_path );},
398+
Some(file_path) => quote! {let _ = include_bytes!( #file_path );},
394399
None => quote!(),
395400
};
396401
quote! {

0 commit comments

Comments
 (0)