aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetoothremotegattserver.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2019-01-03 16:29:49 -0800
committerManish Goregaokar <manishsmail@gmail.com>2019-01-04 15:05:07 -0800
commit611dc4bc70bf654ab52d9d88f29247c82b142c22 (patch)
tree7bc93e672a4d62ca7ab4eb28b2de68f3faeb9064 /components/script/dom/bluetoothremotegattserver.rs
parent6df1c6d7e71794fda5dd7c49c538baa27bdcb1cb (diff)
downloadservo-611dc4bc70bf654ab52d9d88f29247c82b142c22.tar.gz
servo-611dc4bc70bf654ab52d9d88f29247c82b142c22.zip
Remove now-unnecessary must_root and allow(unrooted_must_root) annotations
Diffstat (limited to 'components/script/dom/bluetoothremotegattserver.rs')
-rw-r--r--components/script/dom/bluetoothremotegattserver.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/components/script/dom/bluetoothremotegattserver.rs b/components/script/dom/bluetoothremotegattserver.rs
index c0ebeef0955..62810f04091 100644
--- a/components/script/dom/bluetoothremotegattserver.rs
+++ b/components/script/dom/bluetoothremotegattserver.rs
@@ -68,7 +68,6 @@ impl BluetoothRemoteGATTServerMethods for BluetoothRemoteGATTServer {
self.connected.get()
}
- #[allow(unrooted_must_root)]
// https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattserver-connect
fn Connect(&self) -> Rc<Promise> {
// Step 1.
@@ -109,7 +108,6 @@ impl BluetoothRemoteGATTServerMethods for BluetoothRemoteGATTServer {
self.Device().garbage_collect_the_connection()
}
- #[allow(unrooted_must_root)]
// https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattserver-getprimaryservice
fn GetPrimaryService(&self, service: BluetoothServiceUUID) -> Rc<Promise> {
// Step 1 - 2.
@@ -124,7 +122,6 @@ impl BluetoothRemoteGATTServerMethods for BluetoothRemoteGATTServer {
)
}
- #[allow(unrooted_must_root)]
// https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattserver-getprimaryservices
fn GetPrimaryServices(&self, service: Option<BluetoothServiceUUID>) -> Rc<Promise> {
// Step 1 - 2.