mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix some warnings in future Rust nightlies
This commit is contained in:
parent
7281336116
commit
fdcc7653f2
8 changed files with 20 additions and 45 deletions
|
@ -288,7 +288,7 @@ impl BluetoothManager {
|
|||
self.adapter = BluetoothAdapter::init_mock().ok();
|
||||
match test::test(self, data_set_name) {
|
||||
Ok(_) => return Ok(()),
|
||||
Err(error) => Err(BluetoothError::Type(error.description().to_owned())),
|
||||
Err(error) => Err(BluetoothError::Type(error.to_string())),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue