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.