mirror of
https://github.com/golang/go
synced 2024-11-19 20:54:39 -07:00
rpc: delete unused field from InvalidRequest struct.
Was a mysterious holdover from an attempt to fix a problem long-resolved, I think. R=rsc, r2 CC=golang-dev https://golang.org/cl/4243066
This commit is contained in:
parent
3a95587e01
commit
2ac4d5270f
@ -285,9 +285,7 @@ func (server *Server) register(rcvr interface{}, name string, useName bool) os.E
|
||||
}
|
||||
|
||||
// A value sent as a placeholder for the response when the server receives an invalid request.
|
||||
type InvalidRequest struct {
|
||||
Marker int
|
||||
}
|
||||
type InvalidRequest struct{}
|
||||
|
||||
var invalidRequest = InvalidRequest{}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user