mirror of
https://github.com/golang/go
synced 2024-11-22 20:14:40 -07:00
typo
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=22411 CL=22411
This commit is contained in:
parent
8f5bba0d82
commit
863dafb9ae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user