mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Refactored a bluetooth* related files from codeStyle to code_style.
This commit is contained in:
@@ -28,20 +28,20 @@ pub struct BluetoothRemoteGATTDescriptor {
|
||||
characteristic: MutHeap<JS<BluetoothRemoteGATTCharacteristic>>,
|
||||
uuid: DOMString,
|
||||
value: DOMRefCell<Option<ByteString>>,
|
||||
instanceID: String,
|
||||
instance_id: String,
|
||||
}
|
||||
|
||||
impl BluetoothRemoteGATTDescriptor {
|
||||
pub fn new_inherited(characteristic: &BluetoothRemoteGATTCharacteristic,
|
||||
uuid: DOMString,
|
||||
instanceID: String)
|
||||
instance_id: String)
|
||||
-> BluetoothRemoteGATTDescriptor {
|
||||
BluetoothRemoteGATTDescriptor {
|
||||
reflector_: Reflector::new(),
|
||||
characteristic: MutHeap::new(characteristic),
|
||||
uuid: uuid,
|
||||
value: DOMRefCell::new(None),
|
||||
instanceID: instanceID,
|
||||
instance_id: instance_id,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ impl BluetoothRemoteGATTDescriptor {
|
||||
}
|
||||
|
||||
fn get_instance_id(&self) -> String {
|
||||
self.instanceID.clone()
|
||||
self.instance_id.clone()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user