mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
regexp: remove vestigial Error type
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5573069
This commit is contained in:
parent
9acea02de2
commit
73ce14d0aa
1 changed files with 0 additions and 7 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue