1
0
mirror of https://github.com/golang/go synced 2024-11-25 07:07:57 -07:00

regexp: remove vestigial Error type

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5573069
This commit is contained in:
Brad Fitzpatrick 2012-01-25 14:50:37 -08:00
parent 9acea02de2
commit 73ce14d0aa

View File

@ -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.