Remove extra comment
This commit is contained in:
parent
1343dad443
commit
b141dcdb47
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user