From 73ce14d0aa693f84e86dd61b3d3e862bcd4979d3 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 25 Jan 2012 14:50:37 -0800 Subject: [PATCH] regexp: remove vestigial Error type R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5573069 --- src/pkg/regexp/regexp.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/pkg/regexp/regexp.go b/src/pkg/regexp/regexp.go index ef94fa09b11..7aebd3728a3 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.