aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetoothremotegattcharacteristic.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/bluetoothremotegattcharacteristic.rs
parent5bf2e71407d7d0cdde5d5da381dce545135ae93a (diff)
downloadservo-ef0e93c9b163ae1f61e583014372e5f4a623074c.tar.gz
servo-ef0e93c9b163ae1f61e583014372e5f4a623074c.zip
Updates Bluetooth type to use BufferSource
Diffstat (limited to 'components/script/dom/bluetoothremotegattcharacteristic.rs')
-rw-r--r--components/script/dom/bluetoothremotegattcharacteristic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bluetoothremotegattcharacteristic.rs b/components/script/dom/bluetoothremotegattcharacteristic.rs
index a8dc2d39a5a..8034623ff5c 100644
--- a/components/script/dom/bluetoothremotegattcharacteristic.rs
+++ b/components/script/dom/bluetoothremotegattcharacteristic.rs
@@ -167,8 +167,8 @@ impl BluetoothRemoteGATTCharacteristicMethods for BluetoothRemoteGATTCharacteris
// 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 {