Граф коммитов

2 Коммитов

Автор SHA1 Сообщение Дата
Dmitri Shuralyov 20097e45e6 all: fix printf(var) mistakes detected by latest printf checker
The CodeWriter.WriteComment method is odd. It calls fmt.Sprintf
on its arguments so the caller doesn't need to, but isn't named
something like WriteCommentf as I'd expect. I tried renaming it,
but it became a bigger change than I wanted. Leaving that for a
future CL - this one just fixes clear mistakes to fix the build.

For golang/go#69267.

Change-Id: Ifba42d4512696194fbf21d6c8d3da76440b1ce9e
Reviewed-on: https://go-review.googlesource.com/c/text/+/610676
Reviewed-by: Tim King <taking@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-09-04 23:13:35 +00:00
Marcel van Lohuizen 5f4e61ea54 go.text/collate: Moved collation from go.exp:
- moved to top-level, instead of below locale.
 - updated imports using go.exp to using go.text equivalents.

R=r
CC=golang-dev
https://golang.org/cl/10076043
2013-06-06 15:38:15 +02:00