From aaf21dab4f3063453b00dc0761077e5fa2ab7033 Mon Sep 17 00:00:00 2001 From: zakorgy Date: Thu, 14 Jul 2016 10:35:06 +0200 Subject: [PATCH] Remove some unnecessary pub modifiers (#50) --- components/script/dom/bluetoothremotegattcharacteristic.rs | 2 +- components/script/dom/bluetoothremotegattdescriptor.rs | 2 +- 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() } }