]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.14: fix math/big.(*Int).GCD notes
authorFilippo Valsorda <filippo@golang.org>
Fri, 31 Jan 2020 22:54:21 +0000 (14:54 -0800)
committerFilippo Valsorda <filippo@golang.org>
Fri, 31 Jan 2020 23:32:02 +0000 (23:32 +0000)
GCD is a method, not a function, so the link was broken.

Change-Id: Icbb09d39959e7c71a48987b15bb82febe12c3a19
Reviewed-on: https://go-review.googlesource.com/c/go/+/217303
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.14.html

index a4767d786f85b2a3397590ccc079fd15e0614b30..2f0e67ab681ee1adc8d79cb06f7b380cafe96c0c 100644 (file)
@@ -598,7 +598,7 @@ TODO
 <dl id="math/big"><dt><a href="/pkg/math/big">math/big</a></dt>
   <dd>
     <p><!-- CL 164972 -->
-      The <a href="/pkg/math/big/#GCD"><code>GCD</code></a> function
+      The <a href="/pkg/math/big/#Int.GCD"><code>GCD</code></a> method
       now allows the inputs <code>a</code> and <code>b</code> to be
       zero or negative.
     </p>