]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc/go1.22: document io changes
authorMichael Pratt <mpratt@google.com>
Mon, 11 Dec 2023 21:45:56 +0000 (16:45 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 12 Dec 2023 16:30:08 +0000 (16:30 +0000)
Change-Id: I1dd4030782ad20512836927d42bc8fe3d93437d7
Reviewed-on: https://go-review.googlesource.com/c/go/+/548880
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
doc/go1.22.html

index 18d42e5b53c2688ca4cd8d5a2c8efa9cef984402..e5fac31ae6a5fc116ec9674f507c31e1c7e8ebd2 100644 (file)
@@ -568,12 +568,8 @@ defer func() {
 
 <dl id="io"><dt><a href="/pkg/io/">io</a></dt>
   <dd>
-    <p><!-- https://go.dev/issue/61870 -->
-      TODO: <a href="https://go.dev/issue/61870">https://go.dev/issue/61870</a>: add SectionReader.Outer method
-    </p>
-
-    <p><!-- CL 526855 -->
-      TODO: <a href="https://go.dev/cl/526855">https://go.dev/cl/526855</a>: io: add (*SectionReader).Outer(); modified api/next/61870.txt
+    <p><!-- https://go.dev/issue/61870, CL 526855 -->
+      The new <a href="/pkg/io#SectionReader.Outer"><code>SectionReader.Outer</code></a> method returns the <a href="/pkg/io#ReaderAt"><code>ReaderAt</code></a>, offset, and size passed to <a href="/pkg/io#NewSectionReader"><code>NewSectionReader</code></a>.
     </p>
   </dd>
 </dl><!-- io -->