Skip to content

Commit bcfa64b

Browse files
committed
samples: hello_world: Run cargo fmt
Format the source according to the default rules. This provides a baseline for future changes to require well-formatted source. Signed-off-by: David Brown <[email protected]>
1 parent 0a991e4 commit bcfa64b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

samples/hello_world/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ use log::info;
77

88
#[no_mangle]
99
extern "C" fn rust_main() {
10-
unsafe { zephyr::set_logger().unwrap(); }
10+
unsafe {
11+
zephyr::set_logger().unwrap();
12+
}
1113

1214
info!("Hello world from Rust on {}", zephyr::kconfig::CONFIG_BOARD);
1315
}

0 commit comments

Comments
 (0)