diff --git a/components/script/dom/bluetoothremotegattcharacteristic.rs b/components/script/dom/bluetoothremotegattcharacteristic.rs index 0fc9d7a41f2d..e3e17b4a0f90 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 035233b01f73..f821d4aca2d0 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 cf0f896d3f60..f0954a1c76f9 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() } }