crypto/rsa: PublicKey.Equal() should say it expects a pointer #49136
Labels
Documentation
Issues describing a change to documentation.
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
N/A
What operating system and processor architecture are you using (
go env
)?N/A but included below
go env
OutputWhat did you do?
N/A
What did you expect to see?
I expected the documentation or the function signature to mention that
publicKey.Equal
expects a pointer instead of a value.What did you see instead?
Neither the function signature nor the documentation makes it clear that
publicKey.Equal
expects a pointer instead of a valueThe text was updated successfully, but these errors were encountered: