]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix code comment
authorMatt Joiner <anacrolix@gmail.com>
Mon, 14 Jul 2025 05:37:37 +0000 (15:37 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 14 Jul 2025 05:37:37 +0000 (15:37 +1000)
math.go

diff --git a/math.go b/math.go
index daf62b4244fb87db8eab0552f44263ed6413e870..0aefb4f7b64c682bfd86df2e152a2d149db2549a 100644 (file)
--- a/math.go
+++ b/math.go
@@ -6,6 +6,6 @@ import (
 
 func intCeilDiv[T constraints.Unsigned](a, b T) T {
        // This still sux for negative numbers due to truncating division. But I don't know that we need
-       // or ceil division makes sense for negative numbers.
+       // or that ceil division makes sense for negative numbers.
        return (a + b - 1) / b
 }