From ef0e93c9b163ae1f61e583014372e5f4a623074c Mon Sep 17 00:00:00 2001 From: Anthony Urena Date: Sat, 24 Mar 2018 19:40:38 -0400 Subject: Updates Bluetooth type to use BufferSource --- components/script/dom/bluetoothremotegattcharacteristic.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/script/dom/bluetoothremotegattcharacteristic.rs') 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 { -- cgit v1.2.3