1
0
mirror of https://github.com/golang/go synced 2024-11-19 04:14:45 -07:00

go/pointer: fix typo ("distiction" -> "distinction")

Change-Id: I88334b30b08e110b837c255220385c9c4cd4a823
Reviewed-on: https://go-review.googlesource.com/85576
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
This commit is contained in:
Kashav Madan 2017-12-27 20:47:17 -05:00 committed by Emmanuel Odeke
parent b451b9aaee
commit f271d7a0f8

View File

@ -431,7 +431,7 @@ Structs
Field offsets are logical field offsets (plus one for the identity Field offsets are logical field offsets (plus one for the identity
node), so the sizes of the fields can be ignored by the analysis. node), so the sizes of the fields can be ignored by the analysis.
(The identity node is non-traditional but enables the distiction (The identity node is non-traditional but enables the distinction
described above, which is valuable for code comprehension tools. described above, which is valuable for code comprehension tools.
Typical pointer analyses for C, whose purpose is compiler Typical pointer analyses for C, whose purpose is compiler
optimization, must soundly model unsafe.Pointer (void*) conversions, optimization, must soundly model unsafe.Pointer (void*) conversions,