Skip to content

Commit b79e295

Browse files
committed
Fixed godoc
Signed-off-by: Vishal Rana <[email protected]>
1 parent e3eb0ca commit b79e295

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bytes/bytes.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import (
66
"math"
77
)
88

9-
// Format formats bytes to string. For example, 1024 returns 1 KB
9+
// Format formats bytes to string. For example, 1000 would returns 1 KB
1010
func Format(b uint64) string {
1111
return format(float64(b), false)
1212
}
1313

1414
// FormatBin formats bytes to string as specified by ICE standard. For example,
15-
// 13.23 MiB.
15+
// 1024 would return 1 KiB.
1616
func FormatBin(b uint64) string {
1717
return format(float64(b), true)
1818
}

0 commit comments

Comments
 (0)