aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2012-01-25 14:50:37 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2012-01-25 14:50:37 -0800
commit73ce14d0aa693f84e86dd61b3d3e862bcd4979d3 (patch)
treedf234f5db38832f798bbcee3daa954a553db39b3
parent9acea02de2eb5ee0ac3a20613a8e1c3ce44e755b (diff)
downloadgo-73ce14d0aa693f84e86dd61b3d3e862bcd4979d3.tar.gz
go-73ce14d0aa693f84e86dd61b3d3e862bcd4979d3.zip
regexp: remove vestigial Error type
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5573069
-rw-r--r--src/pkg/regexp/regexp.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/pkg/regexp/regexp.go b/src/pkg/regexp/regexp.go
index ef94fa09b1..7aebd3728a 100644
--- a/src/pkg/regexp/regexp.go
+++ b/src/pkg/regexp/regexp.go
@@ -66,13 +66,6 @@ import (
var debug = false
-// Error is the local type for a parsing error.
-type Error string
-
-func (e Error) Error() string {
- return string(e)
-}
-
// Regexp is the representation of a compiled regular expression.
// The public interface is entirely through methods.
// A Regexp is safe for concurrent use by multiple goroutines.