mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-12-22 23:57:26 +08:00
chore: add comment
This commit is contained in:
parent
07fb529e36
commit
971131d951
@ -34,6 +34,7 @@ func NewDomainSet(keys []string) *DomainSet {
|
||||
reserveDomains = append(reserveDomains, utils.Reverse(domain))
|
||||
})
|
||||
// ensure that the same prefix is continuous
|
||||
// and according to the ascending sequence of length
|
||||
sort.Strings(reserveDomains)
|
||||
keys = reserveDomains
|
||||
if len(keys) == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user