]> Cypherpunks repositories - gostls13.git/commit
internal/weak: remove unnecessary conversion, fix typo
authorDmitriy Matrenichev <temp65535@gmail.com>
Mon, 22 Apr 2024 22:26:33 +0000 (22:26 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 26 Apr 2024 22:13:25 +0000 (22:13 +0000)
commit9effeeab27de2a8f75a1050ce879ba8db3abb406
tree1d890881f9509d388870096e02ec5afac6d125f1
parentb439f3285962e9a263ea7511f19aac0a875d17cf
internal/weak: remove unnecessary conversion, fix typo

Remove unnecessary conversion from unsafe.Pointer to unsafe.Pointer.
Also fix small typo in weak.Pointer.Strong method documentation.

Change-Id: I84791fba244581bd6218c589827a61914f0797b4
GitHub-Last-Rev: 7978d07d5bbd72ca84c9650bf2450d7a269bbb1d
GitHub-Pull-Request: golang/go#66977
Reviewed-on: https://go-review.googlesource.com/c/go/+/580936
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Commit-Queue: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Joedian Reid <joedian@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
src/internal/weak/pointer.go