Remove inaccurate comment about DeviceId
parent
e27b6fb51e
commit
8c39db002b
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue