all: avoid collides with builtin min/max functions

Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu>
This commit is contained in:
Walter Werner SCHNEIDER
2025-07-14 09:44:44 +03:00
committed by Elias Naur
parent 4e5a344cc2
commit ba82ae46d0
4 changed files with 6 additions and 41 deletions
-7
View File
@@ -56,13 +56,6 @@ func (l *document) reset() {
l.unreadRuneCount = 0
}
func max(a, b int) int {
if a > b {
return a
}
return b
}
// A line contains the measurements of a line of text.
type line struct {
// runs contains sequences of shaped glyphs with common attributes. The order