File tree 2 files changed +0
-11
lines changed
2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -299,11 +299,6 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
299
299
300
300
< dl id ="reflect "> < dt > < a href ="/pkg/reflect/ "> reflect</ a > </ dt >
301
301
< dd >
302
- < p > <!-- CL 401434 -->
303
- < a href ="/pkg/reflect/#SliceHeader "> < code > SliceHeader</ code > </ a >
304
- and < a href ="/pkg/reflect/#StringHeader "> < code > StringHeader</ code > </ a >
305
- are now deprecated, and their use should be avoided.
306
- </ p >
307
302
< p > <!-- CL 357331 -->
308
303
TODO: < a href ="https://go.dev/cl/357331 "> https://go.dev/cl/357331</ a > : allow Value.Bytes on addressable byte arrays
309
304
</ p >
Original file line number Diff line number Diff line change @@ -2667,9 +2667,6 @@ func (v Value) UnsafePointer() unsafe.Pointer {
2667
2667
// Moreover, the Data field is not sufficient to guarantee the data
2668
2668
// it references will not be garbage collected, so programs must keep
2669
2669
// a separate, correctly typed pointer to the underlying data.
2670
- //
2671
- // Deprecated: this type should not be used, it exists only for
2672
- // backward compatibility.
2673
2670
type StringHeader struct {
2674
2671
Data uintptr
2675
2672
Len int
@@ -2681,9 +2678,6 @@ type StringHeader struct {
2681
2678
// Moreover, the Data field is not sufficient to guarantee the data
2682
2679
// it references will not be garbage collected, so programs must keep
2683
2680
// a separate, correctly typed pointer to the underlying data.
2684
- //
2685
- // Deprecated: this type should not be used, it exists only for
2686
- // backward compatibility.
2687
2681
type SliceHeader struct {
2688
2682
Data uintptr
2689
2683
Len int
You can’t perform that action at this time.
0 commit comments