aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRhys Hiltner <rhys@justin.tv>2021-06-10 15:05:07 -0700
committerDmitri Shuralyov <dmitshur@golang.org>2021-06-11 14:48:06 +0000
commit2721da26083f253c46c2fd0c1dadee14ae4202f5 (patch)
tree4a40490a2bfd5f56f5df6cb5226e55caee57592b /doc
parent770f1de8c54256d5b17447028e47b201ba8e62c8 (diff)
downloadgo-2721da26083f253c46c2fd0c1dadee14ae4202f5.tar.gz
go-2721da26083f253c46c2fd0c1dadee14ae4202f5.zip
doc/go1.17: fix formatting near httptest
Change-Id: Ic1a0add3a1e137ca5cd0f3e9ce3266191b0b55cd Reviewed-on: https://go-review.googlesource.com/c/go/+/326777 Trust: Alberto Donizetti <alb.donizetti@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.17.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go1.17.html b/doc/go1.17.html
index 49fbabdc3f..101957aabd 100644
--- a/doc/go1.17.html
+++ b/doc/go1.17.html
@@ -763,9 +763,9 @@ func Foo() bool {
<dl id="net/http/httptest"><dt><a href="/pkg/net/http/httptest/">net/http/httptest</a></dt>
<dd>
<p><!-- CL 308950 -->
- <a href="/pkg/net/http/httptest/#ResponseRecorder.WriteHeader"><code>ResponseRecorder.WriteHeader></code></a>
+ <a href="/pkg/net/http/httptest/#ResponseRecorder.WriteHeader"><code>ResponseRecorder.WriteHeader</code></a>
now panics when the provided code is not a valid three-digit HTTP status code.
- This matches the behavior of <a href="/pkg/net/http/#ResponseWriter"><code>ResponseWriter></code></a>
+ This matches the behavior of <a href="/pkg/net/http/#ResponseWriter"><code>ResponseWriter</code></a>
implementations in the <a href="/pkg/net/http/"><code>net/http</code></a> package.
</p>
</dd>