Skip to content

Commit 09f1516

Browse files
committed
design/16085-conversions-ignore-tags.md: fix a couple of typos
Change-Id: Ia3cdfbe162f8d218517574071e64a5aece3af36b Reviewed-on: https://go-review.googlesource.com/24280 Reviewed-by: Robert Griesemer <[email protected]>
1 parent 2d591bc commit 09f1516

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

design/16085-conversions-ignore-tags.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ we will be able to access a value of *jsonPerson type
9494
person := new(jsonPerson)
9595
// some code that populates person
9696

97-
as a *Txml:
97+
as an *xmlPerson:
9898

99-
alias := (*xmlPerson)(&person)
99+
alias := (*xmlPerson)(person)
100100
// some code that uses alias
101101

102102
This may eliminate the need to copy struct values just to change the tags.

0 commit comments

Comments
 (0)