1
0
mirror of https://github.com/golang/go synced 2024-11-19 12:44:51 -07:00

runtime: fix typo in comment

GitHub-Last-Rev: d6a6fa3909
GitHub-Pull-Request: golang/go#23809
Change-Id: Ife18ba2f982b5e1c30bda32d13dcd441778b986a
Reviewed-on: https://go-review.googlesource.com/93575
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Yasuhiro Matsumoto 2018-02-13 10:23:37 +00:00 committed by Ian Lance Taylor
parent 816154b065
commit 4dad4ab57b

View File

@ -25,7 +25,7 @@ func spinUnlock(state *uint32)
//go:nosplit
func lockAndCheck(addr *uint64) {
// ensure 8-byte alignement
// ensure 8-byte alignment
if uintptr(unsafe.Pointer(addr))&7 != 0 {
addr = nil
}