diff --git a/matrix_sdk_crypto/src/memory_stores.rs b/matrix_sdk_crypto/src/memory_stores.rs index 67fe9245..7389eb2f 100644 --- a/matrix_sdk_crypto/src/memory_stores.rs +++ b/matrix_sdk_crypto/src/memory_stores.rs @@ -175,8 +175,6 @@ impl DeviceStore { let device_map = self.entries.get_mut(&user_id).unwrap(); device_map - // TODO this is ok if this is for sure a valid device_id otherwise - // Box::::try_from(&str) is the validated version .insert(device.device_id().into(), device) .is_none() }