@@ -806,10 +806,10 @@ func (b *builder) writeLanguage() {
806806 }
807807 }
808808
809- // Complete canonialized language tags.
809+ // Complete canonicalized language tags.
810810 lang .freeze ()
811811 for i , v := range lang .s {
812- // We can avoid these manual entries by using the IANI registry directly.
812+ // We can avoid these manual entries by using the IANA registry directly.
813813 // Seems easier to update the list manually, as changes are rare.
814814 // The panic in this loop will trigger if we miss an entry.
815815 add := ""
@@ -916,7 +916,7 @@ func (b *builder) writeRegion() {
916916 i := b .region .index (s )
917917 for _ , d := range e .description {
918918 if strings .Contains (d , "Private use" ) {
919- regionTypes [i ] = iso3166UserAssgined
919+ regionTypes [i ] = iso3166UserAssigned
920920 }
921921 }
922922 regionTypes [i ] |= bcp47Region
@@ -1073,7 +1073,7 @@ const (
10731073)
10741074
10751075const (
1076- iso3166UserAssgined = 1 << iota
1076+ iso3166UserAssigned = 1 << iota
10771077 ccTLD
10781078 bcp47Region
10791079)
@@ -1521,7 +1521,6 @@ func (b *builder) writeRegionInclusionData() {
15211521 for _ , v := range l {
15221522 regionContainment [g ] |= 1 << v
15231523 }
1524- // log.Printf("%d: %X", g, regionContainment[g])
15251524 }
15261525 b .writeSlice ("regionContainment" , regionContainment )
15271526
0 commit comments