dm/ud
1
0
forked from sm/ud

minor: whitespacing

This commit is contained in:
Stephen McQuay 2015-01-25 01:13:29 -08:00
parent 4cf9210bf7
commit a3e4a9061a

View File

@ -45,6 +45,7 @@ func (bv ByVotes) Len() int {
func (bv ByVotes) Swap(i, j int) { func (bv ByVotes) Swap(i, j int) {
bv[i], bv[j] = bv[j], bv[i] bv[i], bv[j] = bv[j], bv[i]
} }
func (bv ByVotes) Less(i, j int) bool { func (bv ByVotes) Less(i, j int) bool {
return float64(bv[i].Up-bv[i].Down) > float64(bv[j].Up-bv[j].Down) return float64(bv[i].Up-bv[i].Down) > float64(bv[j].Up-bv[j].Down)
} }