1
0
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:
Rob Pike 2011-03-09 10:02:17 -08:00
parent 3a95587e01
commit 2ac4d5270f

View File

@ -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{}