From 76f233fe045788e71b7460ea82947e4bda6d76ff Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Fri, 5 Jun 2020 09:48:44 -0400 Subject: [PATCH] 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 --- doc/go1.15.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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.

-- 2.50.0