Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect documenation for Alignof in http://golang.org/src/pkg/unsafe/unsafe.go #236

Closed
gopherbot opened this issue Nov 16, 2009 · 2 comments

Comments

@gopherbot
Copy link
Contributor

by OmeiTurnbull:

The comment for func AlignOf says:

// Alignof returns the alignment of the value v.  It is the minimum value m
such
// that the address of a variable with the type of v will always always be
zero mod m.

It s/b the maximum value, not the minimum.
@agl
Copy link
Contributor

agl commented Nov 16, 2009

Comment 1:

http://golang.org/cl/155072

Owner changed to a...@golang.org.

Status changed to Started.

@agl
Copy link
Contributor

agl commented Nov 16, 2009

Comment 2:

This issue was closed by revision 1cdfe9f.

Status changed to Fixed.

Merged into issue #-.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants