diff --git a/components/script/dom/bluetoothuuid.rs b/components/script/dom/bluetoothuuid.rs index fbf49142aa3..bf8774650ba 100644 --- a/components/script/dom/bluetoothuuid.rs +++ b/components/script/dom/bluetoothuuid.rs @@ -296,7 +296,7 @@ impl BluetoothUUID { resolve_uuid_name(name, BLUETOOTH_ASSIGNED_SERVICES, SERVICE_PREFIX) } - pub fn characteristic(name: BluetoothServiceUUID) -> Fallible { + pub fn characteristic(name: BluetoothCharacteristicUUID) -> Fallible { resolve_uuid_name(name, BLUETOOTH_ASSIGNED_CHARCTERISTICS, CHARACTERISTIC_PREFIX) }