Remove some unnecessary pub modifiers (#50)

This commit is contained in:
zakorgy 2016-07-14 10:35:06 +02:00 committed by GitHub
parent 5d98ee61bb
commit aaf21dab4f
3 changed files with 3 additions and 3 deletions

View file

@ -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()
}
}

View file

@ -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()
}
}

View file

@ -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()
}
}