Remove inaccurate comment about DeviceId

master
Devin R 2020-07-17 21:11:23 -04:00
parent e27b6fb51e
commit 8c39db002b
1 changed files with 0 additions and 2 deletions

View File

@ -175,8 +175,6 @@ impl DeviceStore {
let device_map = self.entries.get_mut(&user_id).unwrap(); let device_map = self.entries.get_mut(&user_id).unwrap();
device_map device_map
// TODO this is ok if this is for sure a valid device_id otherwise
// Box::<DeviceId>::try_from(&str) is the validated version
.insert(device.device_id().into(), device) .insert(device.device_id().into(), device)
.is_none() .is_none()
} }