mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
docs: fix spelling
Change-Id: Ib689e5793d9cb372e759c4f34af71f004010c822
GitHub-Last-Rev: d63798388e
GitHub-Pull-Request: golang/go#44259
Reviewed-on: https://go-review.googlesource.com/c/go/+/291949
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Matthew Dempsky <mdempsky@google.com>
Trust: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
43652dc46f
commit
6ba4a300d8
22 changed files with 32 additions and 32 deletions
|
|
@ -383,7 +383,7 @@ func (w *writer) Sym(s *LSym) {
|
|||
|
||||
func (w *writer) Hash64(s *LSym) {
|
||||
if !s.ContentAddressable() || len(s.R) != 0 {
|
||||
panic("Hash of non-content-addresable symbol")
|
||||
panic("Hash of non-content-addressable symbol")
|
||||
}
|
||||
b := contentHash64(s)
|
||||
w.Bytes(b[:])
|
||||
|
|
@ -391,7 +391,7 @@ func (w *writer) Hash64(s *LSym) {
|
|||
|
||||
func (w *writer) Hash(s *LSym) {
|
||||
if !s.ContentAddressable() {
|
||||
panic("Hash of non-content-addresable symbol")
|
||||
panic("Hash of non-content-addressable symbol")
|
||||
}
|
||||
b := w.contentHash(s)
|
||||
w.Bytes(b[:])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue