Automated g4 rollback of changelist 25024,

plus significant hand editing.

Back to T{x} for composite literals.

R=r
OCL=25612
CL=25632
This commit is contained in:
Russ Cox 2009-03-03 08:39:12 -08:00
parent e8b43190bb
commit be2edb5761
100 changed files with 1711 additions and 1710 deletions

View file

@ -247,7 +247,7 @@ func (h *redirectHandler) ServeHTTP(c *Conn, req *Request) {
}
func RedirectHandler(to string) Handler {
return &redirectHandler(to);
return &redirectHandler{to};
}
// Path-based HTTP request multiplexer.
@ -265,7 +265,7 @@ type ServeMux struct {
}
func NewServeMux() *ServeMux {
return &ServeMux(make(map[string] Handler));
return &ServeMux{make(map[string] Handler)};
}
var DefaultServeMux = NewServeMux();