]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix spelling mistake
authorKevin Burke <kev@inburke.com>
Thu, 25 Jan 2018 19:26:54 +0000 (11:26 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 26 Jan 2018 23:55:04 +0000 (23:55 +0000)
Change-Id: I7bf1a93d3377acccdd3a34c5dcef7863310496e0
Reviewed-on: https://go-review.googlesource.com/89955
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.10.html

index 9ea7325891560037ca01c51a714b767ce54b6afb..d24b0b70178a994f80f2809c0b732834d382b3d9 100644 (file)
@@ -277,9 +277,9 @@ Go structs and Go arrays are not supported in the type signatures of cgo-exporte
 <p>
 Cgo now supports direct access to Go string values from C.
 Functions in the C preamble may use the type <code>_GoString_</code>
-to accept a Go string as an argument. 
+to accept a Go string as an argument.
 C code may call <code>_GoStringLen</code> and <code>_GoStringPtr</code>
-for direct access to the contents of the string. 
+for direct access to the contents of the string.
 A value of type <code>_GoString_</code>
 may be passed in a call to an exported Go function that takes an argument of Go type <code>string</code>.
 </p>
@@ -816,7 +816,7 @@ formats the X.509 distinguished name in the standard RFC 2253 format.
 <p>
 Drivers that currently hold on to the destination buffer provdied by
 <a href="/pkg/database/sql/driver/#Rows.Next"><code>driver.Rows.Next</code></a> should ensure they no longer
-write to a buffer assignedd to the destination array outside of that call.
+write to a buffer assigned to the destination array outside of that call.
 Drivers must be careful that underlying buffers are not modified when closing
 <a href="/pkg/database/sql/driver/#Rows"><code>driver.Rows</code></a>.
 </p>