Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
49eb63cf
Commit
49eb63cf
authored
Apr 29, 2009
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop unused result name - trivial change.
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=28056 CL=28058
parent
f7d3eb9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/template/template.go
src/lib/template/template.go
+1
-1
No files found.
src/lib/template/template.go
View file @
49eb63cf
...
...
@@ -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
)}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment