docs: grammar improvements (#673)

* lint: pin golangci-lint version

* docs: grammar fixes

* docs: remove "truthy" terminology

* docs: remove "array" terminology

* docs: grammar fixes

* Update .github/workflows/lint.yml

---------

Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
This commit is contained in:
Nathan Baulch
2025-09-25 04:59:41 +10:00
committed by GitHub
parent 7e6d6e0673
commit 3e11f11781
22 changed files with 314 additions and 314 deletions

View File

@@ -67,7 +67,7 @@ func ExampleReverse() {
// Output: [5 4 3 2 1 0]
}
// Fill fills elements of array with `initial` value.
// Fill fills elements of a slice with `initial` value.
// Play: https://go.dev/play/p/VwR34GzqEub
func Fill[T any, Slice ~[]T](collection Slice, initial T) {
for i := range collection {