mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove some unnecessary pub modifiers (#50)
This commit is contained in:
parent
5d98ee61bb
commit
aaf21dab4f
3 changed files with 3 additions and 3 deletions
|
@ -76,7 +76,7 @@ impl BluetoothRemoteGATTCharacteristic {
|
|||
global_ref.as_window().bluetooth_thread()
|
||||
}
|
||||
|
||||
pub fn get_instance_id(&self) -> String {
|
||||
fn get_instance_id(&self) -> String {
|
||||
self.instanceID.clone()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ impl BluetoothRemoteGATTDescriptor {
|
|||
global_ref.as_window().bluetooth_thread()
|
||||
}
|
||||
|
||||
pub fn get_instance_id(&self) -> String {
|
||||
fn get_instance_id(&self) -> String {
|
||||
self.instanceID.clone()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ impl BluetoothRemoteGATTService {
|
|||
global_ref.as_window().bluetooth_thread()
|
||||
}
|
||||
|
||||
pub fn get_instance_id(&self) -> String {
|
||||
fn get_instance_id(&self) -> String {
|
||||
self.instanceID.clone()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue