aboutsummaryrefslogtreecommitdiffstats
path: root/components/bluetooth/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/bluetooth/lib.rs')
-rw-r--r--components/bluetooth/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/bluetooth/lib.rs b/components/bluetooth/lib.rs
index 19d6db743e4..5c54860d9e3 100644
--- a/components/bluetooth/lib.rs
+++ b/components/bluetooth/lib.rs
@@ -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())),
}
}