File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ const (
139139 maxPrimary = illegalOffset + 1
140140)
141141
142- // implicitPrimary returns the primary weight for the a rune
142+ // implicitPrimary returns the primary weight for the given rune
143143// for which there is no entry for the rune in the collation table.
144144// We take a different approach from the one specified in
145145// https://unicode.org/reports/tr10/#Implicit_Weights,
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ func (d *Decoder) setError(err error) {
257257// Language returns the language in which the message is being rendered.
258258//
259259// The destination language may be a child language of the language used for
260- // encoding. For instance, a decoding language of "pt-PT"" is consistent with an
260+ // encoding. For instance, a decoding language of "pt-PT" is consistent with an
261261// encoding language of "pt".
262262func (d * Decoder ) Language () language.Tag { return d .tag }
263263
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ const (
354354 maxPrimary = illegalOffset + 1
355355)
356356
357- // implicitPrimary returns the primary weight for the a rune
357+ // implicitPrimary returns the primary weight for the given rune
358358// for which there is no entry for the rune in the collation table.
359359// We take a different approach from the one specified in
360360// https://unicode.org/reports/tr10/#Implicit_Weights,
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ type Config struct {
5858 // 1. From the Language field in the file.
5959 // 2. If not present, from a valid language tag in the filename, separated
6060 // by dots (e.g. "en-US.json" or "incoming.pt_PT.xmb").
61- // 3. If not present, from a the closest subdirectory in which the file
61+ // 3. If not present, from the closest subdirectory in which the file
6262 // is contained that parses as a valid language tag.
6363 TranslationsPattern string
6464
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ func loadUnicodeData() {
235235 }
236236}
237237
238- // compactCCC converts the sparse set of CCC values to a continguous one,
238+ // compactCCC converts the sparse set of CCC values to a contiguous one,
239239// reducing the number of bits needed from 8 to 6.
240240func compactCCC () {
241241 m := make (map [uint8 ]uint8 )
You can’t perform that action at this time.
0 commit comments