Skip to content

Commit 1d8604e

Browse files
authored
Lint
1 parent e3223cd commit 1d8604e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

immutable.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,8 @@ func build(g Iterator, transpose bool) *Immutable {
5656
sort.Slice(h.edges[v], func(i, j int) bool {
5757
if e := h.edges[v]; e[i].vertex == e[j].vertex {
5858
return e[i].cost < e[j].cost
59-
} else {
60-
return e[i].vertex < e[j].vertex
6159
}
60+
return e[i].vertex < e[j].vertex
6261
})
6362
}
6463
for v, neighbors := range h.edges {

0 commit comments

Comments
 (0)