fmt: fix %q verb documentation to say "rune literal" The Go specification uses the term "rune literal" (not "character literal") for single-quoted literals like 'a'. The %q verb documentation in the fmt package uses the outdated term "character literal". This change updates it to use the correct Go terminology. As noted by @adonovan in #78486, %q works with rune and byte types but not general int types (which is enforced by go vet since Go 1.26). Fixes #78486 Change-Id: I894f339d6242331f8b02df3cf3d432df41e50772 GitHub-Last-Rev: 1f65e43d3b8c1f002c3676499b229bae3a8deac6 GitHub-Pull-Request: golang/go#78521 Reviewed-on: https://go-review.googlesource.com/c/go/+/762580 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Alan Donovan <adonovan@google.com> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-by: Alex Putman <aputman@golang.org> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alan Donovan <adonovan@google.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attribution license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.