From 8c39db002b4e2fefe40fa5c426ff28c70b87337d Mon Sep 17 00:00:00 2001 From: Devin R Date: Fri, 17 Jul 2020 21:11:23 -0400 Subject: [PATCH] Remove inaccurate comment about DeviceId --- matrix_sdk_crypto/src/memory_stores.rs | 2 -- 1 file changed, 2 deletions(-) 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() }