Skip to content

Commit 7f7cf34

Browse files
juneqdot
authored andcommitted
run cargo fmt
1 parent 9bffa59 commit 7f7cf34

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/corebluetooth/internal.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,7 @@ impl CBPeripheral {
236236
// Fulfill the disconnected future, if there is one.
237237
// There might not be a future if the device disconnects unexpectedly.
238238
if let Some(future) = self.disconnected_future_state.take() {
239-
future
240-
.lock()
241-
.unwrap()
242-
.set_reply(CoreBluetoothReply::Ok)
239+
future.lock().unwrap().set_reply(CoreBluetoothReply::Ok)
243240
}
244241
}
245242
}

0 commit comments

Comments
 (0)