Remove extra comment

This commit is contained in:
mcrakhman 2023-05-23 11:51:42 +02:00 committed by Mikhail Iudin
parent 1343dad443
commit b141dcdb47
No known key found for this signature in database
GPG Key ID: FAAAA8BAABDFF1C0

View File

@ -23,8 +23,6 @@ func NewStateFromSnapshot(snapshot *spacesyncproto.SpaceSettingsSnapshot, lastIt
} }
func (s *State) Exists(id string) bool { func (s *State) Exists(id string) bool {
// using map here will not give a lot of benefit, because this thing should be called only
// when we are adding content, thus it doesn't matter
_, exists := s.DeletedIds[id] _, exists := s.DeletedIds[id]
return exists return exists
} }