mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue