From: Brad Fitzpatrick Date: Wed, 25 Jan 2012 22:50:37 +0000 (-0800) Subject: regexp: remove vestigial Error type X-Git-Tag: weekly.2012-01-27~37 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=73ce14d0aa693f84e86dd61b3d3e862bcd4979d3;p=gostls13.git regexp: remove vestigial Error type R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5573069 --- 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.