diff options
author | zakorgy <zakorgy@inf.u-szeged.hu> | 2016-07-14 10:35:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-14 10:35:06 +0200 |
commit | aaf21dab4f3063453b00dc0761077e5fa2ab7033 (patch) | |
tree | 8fd252463cc03e98e4334375656204c198fdeb2b /components/script/dom | |
parent | 5d98ee61bbdb76e179bc62c0366438e28abe79a9 (diff) | |
download | servo-aaf21dab4f3063453b00dc0761077e5fa2ab7033.tar.gz servo-aaf21dab4f3063453b00dc0761077e5fa2ab7033.zip |
Remove some unnecessary pub modifiers (#50)
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/bluetoothremotegattcharacteristic.rs | 2 | ||||
-rw-r--r-- | components/script/dom/bluetoothremotegattdescriptor.rs | 2 | ||||
-rw-r--r-- | components/script/dom/bluetoothremotegattservice.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/bluetoothremotegattcharacteristic.rs b/components/script/dom/bluetoothremotegattcharacteristic.rs index 0fc9d7a41f2..e3e17b4a0f9 100644 --- a/components/script/dom/bluetoothremotegattcharacteristic.rs +++ b/components/script/dom/bluetoothremotegattcharacteristic.rs @@ -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() } } diff --git a/components/script/dom/bluetoothremotegattdescriptor.rs b/components/script/dom/bluetoothremotegattdescriptor.rs index 035233b01f7..f821d4aca2d 100644 --- a/components/script/dom/bluetoothremotegattdescriptor.rs +++ b/components/script/dom/bluetoothremotegattdescriptor.rs @@ -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() } } diff --git a/components/script/dom/bluetoothremotegattservice.rs b/components/script/dom/bluetoothremotegattservice.rs index cf0f896d3f6..f0954a1c76f 100644 --- a/components/script/dom/bluetoothremotegattservice.rs +++ b/components/script/dom/bluetoothremotegattservice.rs @@ -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() } } |