]> Cypherpunks repositories - gostls13.git/commitdiff
text/template/parse/lex.go: fix typo
authorRob Pike <r@golang.org>
Mon, 30 Jul 2012 22:23:36 +0000 (15:23 -0700)
committerRob Pike <r@golang.org>
Mon, 30 Jul 2012 22:23:36 +0000 (15:23 -0700)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6448081

src/pkg/text/template/parse/lex.go

index dcf30f12e785a69f64a09e841e69096d28cc33b0..1334b3033b98d9c81ffd668249c5300f65a53fdc 100644 (file)
@@ -128,7 +128,7 @@ type lexer struct {
        pos        int       // current position in the input.
        start      int       // start position of this item.
        width      int       // width of last rune read from input.
-       lastPos    int       // position of nost recent item returned by nextItem
+       lastPos    int       // position of most recent item returned by nextItem
        items      chan item // channel of scanned items.
 }