mirror of
https://github.com/golang/go
synced 2024-11-19 09:44:46 -07:00
runtime: fix minor typo
Change-Id: I79b7ed8f7e78e9d35b5e30ef70b98db64bc68a7b Reviewed-on: https://go-review.googlesource.com/7720 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
2adc4e8927
commit
6ffed3020c
@ -11,9 +11,9 @@ type Error interface {
|
|||||||
error
|
error
|
||||||
|
|
||||||
// RuntimeError is a no-op function but
|
// RuntimeError is a no-op function but
|
||||||
// serves to distinguish types that are runtime
|
// serves to distinguish types that are run time
|
||||||
// errors from ordinary errors: a type is a
|
// errors from ordinary errors: a type is a
|
||||||
// runtime error if it has a RuntimeError method.
|
// run time error if it has a RuntimeError method.
|
||||||
RuntimeError()
|
RuntimeError()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user