]> Cypherpunks repositories - gostls13.git/commitdiff
drop unused result name - trivial change.
authorRob Pike <r@golang.org>
Thu, 30 Apr 2009 01:20:09 +0000 (18:20 -0700)
committerRob Pike <r@golang.org>
Thu, 30 Apr 2009 01:20:09 +0000 (18:20 -0700)
R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=28056
CL=28058

src/lib/template/template.go

index c6957d4de555939fd78a390bc31bef5dd3abc736..8ec0b26598f96f2ed858074351541f423ba9c1e4 100644 (file)
@@ -744,7 +744,7 @@ func validDelim(d []byte) bool {
 // Parse initializes a Template by parsing its definition.  The string
 // s contains the template text.  If any errors occur, Parse returns
 // the error.
-func (t *Template) Parse(s string) (err os.Error) {
+func (t *Template) Parse(s string) os.Error {
        if !validDelim(t.ldelim) || !validDelim(t.rdelim) {
                return ParseError{fmt.Sprintf("bad delimiter strings %q %q", t.ldelim, t.rdelim)}
        }