mirror of
https://github.com/golang/go.git
synced 2025-05-16 21:04:38 +00:00
drop unused result name - trivial change.
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=28056 CL=28058
This commit is contained in:
parent
f7d3eb9db9
commit
49eb63cfd5
@ -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)}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user