File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1934,7 +1934,7 @@ func (v Value) OverflowUint(x uint64) bool {
1934
1934
// element of the slice. If the slice is nil the returned value
1935
1935
// is 0. If the slice is empty but non-nil the return value is non-zero.
1936
1936
//
1937
- // Deprecated: use uintptr(Value.UnsafePointer()) to get the equivalent result.
1937
+ // It's preferred to use uintptr(Value.UnsafePointer()) to get the equivalent result.
1938
1938
func (v Value ) Pointer () uintptr {
1939
1939
k := v .kind ()
1940
1940
switch k {
@@ -2479,7 +2479,7 @@ func (v Value) Uint() uint64 {
2479
2479
// It is for advanced clients that also import the "unsafe" package.
2480
2480
// It panics if v is not addressable.
2481
2481
//
2482
- // Deprecated: use uintptr(Value.Addr().UnsafePointer()) to get the equivalent result.
2482
+ // It's preferred to use uintptr(Value.Addr().UnsafePointer()) to get the equivalent result.
2483
2483
func (v Value ) UnsafeAddr () uintptr {
2484
2484
if v .typ == nil {
2485
2485
panic (& ValueError {"reflect.Value.UnsafeAddr" , Invalid })
You can’t perform that action at this time.
0 commit comments