mirror of
https://github.com/soheilhy/cmux.git
synced 2025-09-17 12:10:08 +08:00
Simplify formatting in patricia.go
`gofmt -s -w .`
This commit is contained in:

committed by
Soheil Hassas Yeganeh

parent
3ca13bcd9e
commit
6c298ce7b1
@@ -84,7 +84,7 @@ func splitPrefix(bss [][]byte) (prefix []byte, rest [][]byte) {
|
||||
}
|
||||
|
||||
if len(bss) == 1 {
|
||||
return bss[0], [][]byte{[]byte{}}
|
||||
return bss[0], [][]byte{{}}
|
||||
}
|
||||
|
||||
for i := 0; ; i++ {
|
||||
|
Reference in New Issue
Block a user