aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetoothremotegattdescriptor.rs
diff options
context:
space:
mode:
authorAnthony Urena <anthony.urena@protonmail.com>2018-03-24 19:40:38 -0400
committerAnthony Urena <anthony.urena@protonmail.com>2018-03-24 20:46:14 -0400
commitef0e93c9b163ae1f61e583014372e5f4a623074c (patch)
tree378225047a83c09fcdf23b1e886e14bf562c6484 /components/script/dom/bluetoothremotegattdescriptor.rs
parent5bf2e71407d7d0cdde5d5da381dce545135ae93a (diff)
downloadservo-ef0e93c9b163ae1f61e583014372e5f4a623074c.tar.gz
servo-ef0e93c9b163ae1f61e583014372e5f4a623074c.zip
Updates Bluetooth type to use BufferSource
Diffstat (limited to 'components/script/dom/bluetoothremotegattdescriptor.rs')
-rw-r--r--components/script/dom/bluetoothremotegattdescriptor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bluetoothremotegattdescriptor.rs b/components/script/dom/bluetoothremotegattdescriptor.rs
index e120648d661..493550ee91b 100644
--- a/components/script/dom/bluetoothremotegattdescriptor.rs
+++ b/components/script/dom/bluetoothremotegattdescriptor.rs
@@ -126,8 +126,8 @@ impl BluetoothRemoteGATTDescriptorMethods for BluetoothRemoteGATTDescriptor {
// Step 2 - 3.
let vec = match value {
- ArrayBufferViewOrArrayBuffer::ArrayBufferView(mut avb) => avb.to_vec(),
- ArrayBufferViewOrArrayBuffer::ArrayBuffer(mut ab) => ab.to_vec(),
+ ArrayBufferViewOrArrayBuffer::ArrayBufferView(avb) => avb.to_vec(),
+ ArrayBufferViewOrArrayBuffer::ArrayBuffer(ab) => ab.to_vec(),
};
if vec.len() > MAXIMUM_ATTRIBUTE_LENGTH {
p.reject_error(InvalidModification);