From: Austin Clements Date: Fri, 5 Jun 2020 13:48:44 +0000 (-0400) Subject: doc/go1.15: exclude spaces from block X-Git-Tag: go1.15beta1~36 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=76f233fe045788e71b7460ea82947e4bda6d76ff;p=gostls13.git doc/go1.15: exclude spaces from block Per the note at the top of go1.15.html. Updates #37419. Change-Id: Ia6917347ca1e3ebe8c55f9c0ec74e49ff481a64f Reviewed-on: https://go-review.googlesource.com/c/go/+/236719 Reviewed-by: Dmitri Shuralyov --- diff --git a/doc/go1.15.html b/doc/go1.15.html index 6c4206d50b..7a1924227c 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -228,15 +228,15 @@ TODO

Compiler

-

+

Package unsafe's safety rules allow converting an unsafe.Pointer into uintptr when calling certain functions. Previously, in some cases, the compiler allowed multiple - chained conversions (for example, syscall.Syscall(…, - uintptr(uintptr(ptr)), …)). The compiler now requires exactly - one conversion. Code that used multiple conversions should be - updated to satisfy the safety rules. + chained conversions (for example, syscall.Syscall(…, + uintptr(uintptr(ptr)), …)). The compiler + now requires exactly one conversion. Code that used multiple + conversions should be updated to satisfy the safety rules.