File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -269,8 +269,6 @@ const (
269
269
)
270
270
271
271
// Ptr is the old name for the Pointer kind.
272
- //
273
- // Deprecated: use the new spelling, Pointer.
274
272
const Ptr = Pointer
275
273
276
274
// tflag is used by an rtype to signal what extra type information is
@@ -1425,9 +1423,9 @@ func TypeOf(i interface{}) Type {
1425
1423
var ptrMap sync.Map // map[*rtype]*ptrType
1426
1424
1427
1425
// PtrTo returns the pointer type with element t.
1428
- // For example, if t represents type Foo, PointerTo (t) represents *Foo.
1426
+ // For example, if t represents type Foo, PtrTo (t) represents *Foo.
1429
1427
//
1430
- // Deprecated: use PointerTo. PtrTo is the old spelling.
1428
+ // PtrTo is the old spelling of PointerTo .
1431
1429
// The two functions behave identically.
1432
1430
func PtrTo (t Type ) Type { return PointerTo (t ) }
1433
1431
You can’t perform that action at this time.
0 commit comments