Skip to content

Commit 67ee700

Browse files
committed
Fix fmt
1 parent e2aaa24 commit 67ee700

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/server/ble_characteristic.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ impl BLECharacteristic {
235235
});
236236
}
237237
self
238-
.svc_def_descriptors
239-
.push(sys::ble_gatt_dsc_def::default());
238+
.svc_def_descriptors
239+
.push(sys::ble_gatt_dsc_def::default());
240240
self.svc_def_descriptors.as_mut_ptr()
241241
}
242242

@@ -404,9 +404,9 @@ impl BLECharacteristic {
404404
}
405405

406406
if let Some(idx) = self
407-
.subscribed_list
408-
.iter()
409-
.position(|x| x.0 == subscribe.conn_handle)
407+
.subscribed_list
408+
.iter()
409+
.position(|x| x.0 == subscribe.conn_handle)
410410
{
411411
if !sub_val.is_empty() {
412412
self.subscribed_list[idx].1 = sub_val;
@@ -445,9 +445,9 @@ impl BLECharacteristic {
445445
impl core::fmt::Debug for BLECharacteristic {
446446
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
447447
f.debug_struct("BLECharacteristic")
448-
.field("uuid", &BleUuid::from(self.uuid))
449-
.field("properties", &self.properties)
450-
.finish()
448+
.field("uuid", &BleUuid::from(self.uuid))
449+
.field("properties", &self.properties)
450+
.finish()
451451
}
452452
}
453453

0 commit comments

Comments
 (0)