mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
Avoid unnecessary conversions
No need to convert these types.
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
c577a9ed23
commit
6027ee1108
@@ -117,7 +117,7 @@ var (
|
||||
)
|
||||
|
||||
func (l *pageLexer) next() rune {
|
||||
if int(l.pos) >= len(l.input) {
|
||||
if l.pos >= len(l.input) {
|
||||
l.width = 0
|
||||
return eof
|
||||
}
|
||||
|
Reference in New Issue
Block a user