1
0
mirror of https://github.com/golang/go synced 2024-11-22 20:14:40 -07:00
R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=22411
CL=22411
This commit is contained in:
Russ Cox 2009-01-09 11:17:13 -08:00
parent 8f5bba0d82
commit 863dafb9ae

View File

@ -24,7 +24,7 @@ var ErrorStringTab = make(map[string] *Error);
// These functions contain a race if two goroutines add identical
// errors simultaneously but the consequences are unimportant.
// Allocate an Error objecct, but if it's been seen before, share that one.
// Allocate an Error object, but if it's been seen before, share that one.
export func NewError(s string) *Error {
if s == "" {
return nil