Commit 58fbe3f
committed
Fix newexpr lint: replace generic ptr helper with new(int64)
The modernize/newexpr linter flags the generic ptr[T] helper as an
inlinable wrapper around new(). Replace the single usage with new(int64)
and remove the helper function entirely.1 parent 5a1c4cb commit 58fbe3f
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
826 | | - | |
| 826 | + | |
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
946 | | - | |
947 | | - | |
0 commit comments