Skip to content

Commit 76f233f

Browse files
committed
doc/go1.15: exclude spaces from <code> 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 <dmitshur@golang.org>
1 parent 60cbff6 commit 76f233f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/go1.15.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -228,15 +228,15 @@ <h2 id="runtime">Runtime</h2>
228228

229229
<h2 id="compiler">Compiler</h2>
230230

231-
<p><!-- https://golang.org/cl/229578 -->
231+
<p><!-- CL 229578 -->
232232
Package <code>unsafe</code>'s <a href="/pkg/unsafe/#Pointer">safety
233233
rules</a> allow converting an <code>unsafe.Pointer</code>
234234
into <code>uintptr</code> when calling certain
235235
functions. Previously, in some cases, the compiler allowed multiple
236-
chained conversions (for example, <code>syscall.Syscall(…,
237-
uintptr(uintptr(ptr)), …)</code>). The compiler now requires exactly
238-
one conversion. Code that used multiple conversions should be
239-
updated to satisfy the safety rules.
236+
chained conversions (for example, <code>syscall.Syscall(…,</code>
237+
<code>uintptr(uintptr(ptr)),</code> <code>…)</code>). The compiler
238+
now requires exactly one conversion. Code that used multiple
239+
conversions should be updated to satisfy the safety rules.
240240
</p>
241241

242242
<p><!-- CL 230544, CL 231397 -->

0 commit comments

Comments
 (0)