File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -228,15 +228,15 @@ <h2 id="runtime">Runtime</h2>
228
228
229
229
< h2 id ="compiler "> Compiler</ h2 >
230
230
231
- < p > <!-- https://golang.org/cl/ 229578 -->
231
+ < p > <!-- CL 229578 -->
232
232
Package < code > unsafe</ code > 's < a href ="/pkg/unsafe/#Pointer "> safety
233
233
rules</ a > allow converting an < code > unsafe.Pointer</ code >
234
234
into < code > uintptr</ code > when calling certain
235
235
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.
240
240
</ p >
241
241
242
242
< p > <!-- CL 230544, CL 231397 -->
You can’t perform that action at this time.
0 commit comments