Auto merge of #12445 - szeged:pub-remove, r=jdm

Remove some unnecessary pub modifiers (#50)

<!-- Please describe your changes on the following line: -->

Removed unnecessary pub modifiers from DOM class functions get_instance_id.

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests, because there are no WebBluetooth test API implementation yet.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12445)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-07-14 05:09:26 -07:00 committed by GitHub
commit 2cab846140
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()
}
}