Skip to content

Commit b3bf499

Browse files
authored
Fix indent in serial.rs
1 parent 17aa0f6 commit b3bf499

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nrf52/src/serial.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,14 @@ pub fn take() -> (Tx, Rx) {
7373
.compare_exchange_weak(false, true, Ordering::Relaxed, Ordering::Relaxed)
7474
.is_ok()
7575
{
76-
( Tx {
76+
(
77+
Tx {
7778
_not_sync: NotSync::new(),
7879
},
7980
Rx {
8081
_not_sync: NotSync::new(),
8182
},
82-
)
83+
)
8384
} else {
8485
panic!("serial device has already been taken");
8586
}

0 commit comments

Comments
 (0)