优化代码 (#1939)

master
vic 3 years ago committed by GitHub
parent fb519fa547
commit 6d3ed98744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -69,11 +69,7 @@ func (f *Filter) Exists(data []byte) (bool, error) {
if err != nil { if err != nil {
return false, err return false, err
} }
if !isSet { return isSet, nil
return false, nil
}
return true, nil
} }
func (f *Filter) getLocations(data []byte) []uint { func (f *Filter) getLocations(data []byte) []uint {

Loading…
Cancel
Save