Browse Source

Avoid unnecessary conversion (#502)

No need to convert here.
pull/503/head
Christian Muehlhaeuser 7 years ago committed by Matt Silverlock
parent
commit
50fbc3e7fb
  1. 2
      mux_test.go

2
mux_test.go

@ -1943,7 +1943,7 @@ type TestA301ResponseWriter struct { @@ -1943,7 +1943,7 @@ type TestA301ResponseWriter struct {
}
func (ho *TestA301ResponseWriter) Header() http.Header {
return http.Header(ho.hh)
return ho.hh
}
func (ho *TestA301ResponseWriter) Write(b []byte) (int, error) {

Loading…
Cancel
Save